Downloads the binary complex network dataset (rda format), then loads the dataset into the R environment, and deletes the downloaded file from the user's file system.
get_data(dataset_name, destdir = ".", envir = parent.frame())
dataset_name | dataset variable name (corresponds to var_name in ICON_data) |
---|---|
destdir | location to temporarily download binary file |
envir | environment to which data should be loaded |
if (FALSE) { # load single dataset get_data("chess") # load multiple datasets get_data(c("karate_club", "word_adj")) # fail to load dataset not in the ICON R package get_data("not_a_dataset") }