donlowad RDS file from online locations

data_download(name = NULL, url = NULL, cache = TRUE, ...)

Arguments

name

name of the RDS file

url

user-specified location of the RDS file

cache

if TRUE, save downloaded file to temporary folder

...

extra argument passed to download.file

Value

an unserialized R object

Details

Currently only data_corpus_foreignaffairscommittee and data_corpus_guardian are available.

Examples

\donotrun{ corp <- data_download('data_corpus_guardian') corp <- data_download('data_corpus_foreignaffairscommittee') }
#> Error: <text>:1:1: unexpected input #> 1: \ #> ^