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

# \donttest{ get_transcripts()
#> Using current database version: '2020.1'.
#> # A tibble: 48,317 x 13 #> transcript_id corpus_name language date filename target_child_na… #> <int> <chr> <chr> <chr> <chr> <chr> #> 1 1 English-Wolf… eng 1989-0… Frogs/English-… John #> 2 2 English-Wolf… eng 1989-0… Frogs/English-… Rachel #> 3 3 English-Wolf… eng 1989-0… Frogs/English-… Christina #> 4 4 English-Wolf… eng NA Frogs/English-… Margaret #> 5 5 English-Wolf… eng 1989-0… Frogs/English-… Erin #> 6 6 English-Wolf… eng 1989-0… Frogs/English-… Andrew #> 7 7 English-Wolf… eng 1989-0… Frogs/English-… Elizabeth #> 8 8 English-Wolf… eng 1989-0… Frogs/English-… Anne #> 9 9 English-Wolf… eng 1989-0… Frogs/English-… Daniel #> 10 10 English-Wolf… eng 1989-0… Frogs/English-… Zachary #> # … with 48,307 more rows, and 7 more variables: target_child_age <dbl>, #> # target_child_sex <chr>, collection_name <chr>, pid <chr>, #> # collection_id <int>, corpus_id <int>, target_child_id <int>
# }