Downloads the utterances, transcripts, participants, tokens, and token types data from the TalkBank database and saves it to disk in the specified target directory.
Arguments
- corpus_name
The name of the TalkBank corpus to download data from.
- corpus_path
The path to the TalkBank corpus to download data from.
- target_dir
The directory to save the downloaded data to.
- force
If
TRUE, the data will be downloaded even if it already exists on disk.- confirmed
If
TRUE, the user has confirmed that they have permission to use the data. IfFALSE, the function will prompt the user to confirm permission. Setting this toTRUEis useful for reproducible workflows.
Examples
if (FALSE) {
# Download CABNC data from the Conversation Bank to a directory called "data"
get_talkbank_data(corpus_name = "ca", corpus_path = c("ca", "CABNC"), target_dir = "data")
}