Description Usage Arguments Value Examples
Returns file paths to the corpus texts; the locations of which are not always transparent to the user.
1 | corpus_filepaths(corpus, title = NULL)
|
corpus |
The name of the corpus. Can be ‘DNov’ or ‘19C’. |
title |
Either a character string or a vector of character strings
representing the novel titles.
If |
corpus_filepaths
returns a single filepath as a string, or
multiple filepaths as a vector of strings.
When a vector is returned the name attributes are the title abbreviations.
1 2 3 4 5 | all_paths <- corpus_filepaths('DNov')
some_paths <- corpus_filepaths('DNov', title = c('Great Expectations', 'A Tale of Two Cities'))
a_path <- corpus_filepaths('DNov', title = 'GE')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.