R/corpus_management.R
corpus_exists.Rd
Tests whether a corpus has been downloaded (for download-only corpora) or is bundled with the package.
corpus_exists(corpus)
Character string: name of the corpus.
Logical: TRUE if the corpus is available, FALSE if not downloaded.
corpus_exists("corpus_beyonce") #> [1] TRUE