This function makes it easy to get an overview of available data:

  • table_data() returns a tibble with details of the network datasets included in the packages.

table_data(pkg = c("manynet", "migraph"), ...)

Arguments

pkg

String, name of the package.

...

Network marks, e.g. directed, twomode, or signed, that are used to filter the results.

Examples

table_data()
#> Loading required package: migraph
#> # A tibble: 35 × 13
#>    dataset            nodes  ties nattr tattr directed weighted twomode labelled
#>    <char>             <dbl> <dbl> <dbl> <dbl> <lgl>    <lgl>    <lgl>   <lgl>   
#>  1 ison_koenigsberg       4     7     3     1 FALSE    FALSE    FALSE   TRUE    
#>  2 ison_adolescents       8    10     1     0 FALSE    FALSE    FALSE   TRUE    
#>  3 ison_brandes          11    12     1     0 FALSE    FALSE    FALSE   FALSE   
#>  4 ison_algebra          16   279     0     2 TRUE     TRUE     FALSE   FALSE   
#>  5 ison_monastery_es…    18   112     3     1 TRUE     FALSE    FALSE   TRUE    
#>  6 ison_monastery_in…    18   103     3     1 TRUE     FALSE    FALSE   TRUE    
#>  7 ison_monastery_li…    18   168     3     2 TRUE     TRUE     FALSE   TRUE    
#>  8 ison_monastery_pr…    18    80     3     1 TRUE     FALSE    FALSE   TRUE    
#>  9 mpn_ryanair           20   177     1     1 TRUE     TRUE     FALSE   TRUE    
#> 10 ison_hightech         21   312     4     1 TRUE     FALSE    FALSE   FALSE   
#> # ℹ 25 more rows
#> # ℹ 4 more variables: signed <lgl>, multiplex <lgl>, acyclic <lgl>,
#> #   attributed <lgl>
# to obtain list of all e.g. directed networks:
table_data(pkg = "manynet", directed)
#> # A tibble: 9 × 13
#>   dataset             nodes  ties nattr tattr directed weighted twomode labelled
#>   <char>              <dbl> <dbl> <dbl> <dbl> <lgl>    <lgl>    <lgl>   <lgl>   
#> 1 ison_algebra           16   279     0     2 TRUE     TRUE     FALSE   FALSE   
#> 2 ison_monastery_est…    18   112     3     1 TRUE     FALSE    FALSE   TRUE    
#> 3 ison_monastery_inf…    18   103     3     1 TRUE     FALSE    FALSE   TRUE    
#> 4 ison_monastery_like    18   168     3     2 TRUE     TRUE     FALSE   TRUE    
#> 5 ison_monastery_pra…    18    80     3     1 TRUE     FALSE    FALSE   TRUE    
#> 6 ison_hightech          21   312     4     1 TRUE     FALSE    FALSE   FALSE   
#> 7 ison_networkers        32   440     3     1 TRUE     TRUE     FALSE   TRUE    
#> 8 ison_lawfirm           71  2571     7     1 TRUE     FALSE    FALSE   FALSE   
#> 9 ison_friends          650  3959     1     2 TRUE     TRUE     FALSE   TRUE    
#> # ℹ 4 more variables: signed <lgl>, multiplex <lgl>, acyclic <lgl>,
#> #   attributed <lgl>
# to obtain overview of unique datasets:
table_data() %>% 
  dplyr::distinct(directed, weighted, twomode, signed, 
                 .keep_all = TRUE)
#> # A tibble: 8 × 13
#>   dataset             nodes  ties nattr tattr directed weighted twomode labelled
#>   <char>              <dbl> <dbl> <dbl> <dbl> <lgl>    <lgl>    <lgl>   <lgl>   
#> 1 ison_koenigsberg        4     7     3     1 FALSE    FALSE    FALSE   TRUE    
#> 2 ison_algebra           16   279     0     2 TRUE     TRUE     FALSE   FALSE   
#> 3 ison_monastery_est…    18   112     3     1 TRUE     FALSE    FALSE   TRUE    
#> 4 ison_hightech          21   312     4     1 TRUE     FALSE    FALSE   FALSE   
#> 5 ison_southern_women    32    89     4     1 FALSE    FALSE    TRUE    TRUE    
#> 6 ison_karateka          34    78     2     1 FALSE    TRUE     FALSE   TRUE    
#> 7 mpn_OverSxP            52   614     2     1 FALSE    TRUE     TRUE    TRUE    
#> 8 ison_marvel_relati…    53   558    10     1 FALSE    FALSE    FALSE   TRUE    
#> # ℹ 4 more variables: signed <lgl>, multiplex <lgl>, acyclic <lgl>,
#> #   attributed <lgl>