Get collections

get_collections(connection = NULL, db_version = "current", db_args = NULL)

Arguments

connection

A connection to the CHILDES database

db_version

String of the name of database version to use

db_args

List with host, user, and password defined

Value

A `tbl` of Collection data. If `connection` is supplied, the result remains a remote query, otherwise it is retrieved into a local tibble.

Examples

# \donttest{ get_collections()
#> Using current database version: '2020.1'.
#> # A tibble: 33 x 3 #> collection_id collection_name data_source #> <int> <chr> <chr> #> 1 1 Frogs CHILDES #> 2 2 Eng-NA CHILDES #> 3 3 Scandinavian CHILDES #> 4 4 Spanish CHILDES #> 5 5 French CHILDES #> 6 6 DutchAfrikaans CHILDES #> 7 7 Chinese CHILDES #> 8 8 Other CHILDES #> 9 9 Japanese CHILDES #> 10 10 Romance CHILDES #> # … with 23 more rows
# }