Get corpora
get_corpora(connection = NULL, db_version = "current", db_args = NULL)
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 |
A `tbl` of Corpus data. If `connection` is supplied, the result remains a remote query, otherwise it is retrieved into a local tibble.
# \donttest{ get_corpora()#>#> # A tibble: 387 x 5 #> corpus_id corpus_name collection_name data_source collection_id #> <int> <chr> <chr> <chr> <int> #> 1 1 English-WolfHemp Frogs CHILDES 1 #> 2 2 Turkish-Aksu Frogs CHILDES 1 #> 3 3 ArabicDutch-AarssenBos Frogs CHILDES 1 #> 4 4 DutchArabic-AarssenBos Frogs CHILDES 1 #> 5 5 French-Duguine Frogs CHILDES 1 #> 6 6 French-Lyon Frogs CHILDES 1 #> 7 7 Arabic-AarssenBos Frogs CHILDES 1 #> 8 8 Italian-Roma Frogs CHILDES 1 #> 9 9 Spanish-Aguilar Frogs CHILDES 1 #> 10 10 Croatian-TKH Frogs CHILDES 1 #> # … with 377 more rows# }