Skip to content

Code associated to the paper "The temporal dynamics of group interactions in higher-order social networks" by Iacopini et al. Nature Communications 15, 7391 (2024)

License

Notifications You must be signed in to change notification settings

iaciac/temporal-group-interactions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The temporal dynamics of group interactions in higher-order social networks

This repository contains the code required to reproduce the results presented in the following paper:

Data

This study relies on publicly available datasets that have been collected and released in previous publications:

Original data are saved into the data-raw folder.

Structure

  • code contains most of the Python scripts
  • data-raw contains the sub-folders CNS, DyLNet, and Confs where the original data are stored
  • data-curation contains the Jupyter notebooks that perform the pre-processing of the raw data from data-raw, saving the results in data-processed
  • data-processed contains the data after the pre-processing described in data-curation
  • data-analysis contains the Jupyter notebooks that analyse the empirical data already pre-processed in the data-processed folder
  • model contains the Jupyter notebooks that run the model and analyse the synthetic data

Dependencies

The code of the paper strongly relies on a number of exeternal Python libraries. The code has been originally run on a machine containing the following Python dependencies:

  • matplotlib 3.5.1
  • networkx 2.8
  • numpy 1.21.6
  • palettable 3.3.0
  • pandas 1.5.3
  • powerlaw 1.5
  • scipy 1.10.0
  • xgi 0.5.6

About

Code associated to the paper "The temporal dynamics of group interactions in higher-order social networks" by Iacopini et al. Nature Communications 15, 7391 (2024)

Resources

License

Stars

Watchers

Forks