Get transcripts

get_transcripts(collection = NULL, corpus = NULL, target_child = NULL,
  connection = NULL, db_version = "current", db_args = NULL)

Arguments

collection

A character vector of one or more names of collections

corpus

A character vector of one or more names of corpora

target_child

A character vector of one or more names of children

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 Transcript data, filtered down by supplied arguments. If `connection` is supplied, the result remains a remote query, otherwise it is retrieved into a local tibble.

Examples

get_transcripts()
#> Using current database version: '2018.1'.
#> # A tibble: 34,480 x 13 #> transcript_id language date filename corpus_id target_child_id #> <int> <chr> <chr> <chr> <int> <int> #> 1 1 spa 1999-05-24 Hess/d12a1ex1.x… 1 NA #> 2 2 spa 1999-05-24 Hess/d12a1ex2.x… 1 NA #> 3 3 spa 1999-05-24 Hess/d12a1ex3.x… 1 NA #> 4 4 spa 1999-05-25 Hess/d12a1ex4.x… 1 NA #> 5 5 spa 1999-05-25 Hess/d12a1ex5.x… 1 NA #> 6 6 spa 1999-05-25 Hess/d12a2ex1.x… 1 NA #> 7 7 spa 1999-05-25 Hess/d12a2ex2.x… 1 NA #> 8 8 spa 1999-05-25 Hess/d12a2ex3.x… 1 NA #> 9 9 spa 1999-05-28 Hess/d12a2ex4.x… 1 NA #> 10 10 spa 1999-05-28 Hess/d12a2ex5.x… 1 NA #> # ... with 34,470 more rows, and 7 more variables: target_child_age <dbl>, #> # target_child_name <chr>, target_child_sex <chr>, collection_id <int>, #> # collection_name <chr>, pid <chr>, corpus_name <chr>