networkdata

An R package with more than 2000 network datasets

David Schoch

2019-12-06

The package contains a large variety of different network datasets (all in igraph format). So far, it includes datsets from the following repositories:

The package includes 982 datasets containing 2257 networks.

A list of all datasets can be obtained with

data(package = "networkdata")

Feel free to add your own dataset via a pull request

Installation

Due to the nature of the package (only data, no functions), the package will not go to CRAN at any point. However, the package is available via drat (If you are looking for stable builds of the package). With drat, you can install and upgrade non-CRAN packages directly from R using the standard install.packages() and update.packages() functions.

# install.packages("drat")
drat::addRepo("schochastics")
install.packages("networkdata")

The developer version can be installed with:

#install.packages("remotes")
remotes::install_github("schochastics/networkdata")

The required space for the package is ~22MB, given that it includes a lot of data.

Notes

  • Please report any missing sources/references for datasets.
  • Many datasets were automatically assembled and may thus contain errors (not all were manually checked). If you spot any, please report them. Check the original sources for any inconsistencies if you want to use the data in an academic paper.