data_dropbox: load a file from the 'data_pkg' Dropbox location

Description Usage Arguments Value Examples

View source: R/data_dropbox.R

Description

Loads a data file from the data_pkg directory from a user's Dropbox root folder. This keeps very large data objects outside of the package, and off of GitHub.

Usage

1
data_dropbox(object, location = paste0(getOption("ROOT_DROPBOX"), "data_pkg/"))

Arguments

object

the data object to be loaded (not quoted)

location

the directory where the large data objects are located. The default location is set upon loading the package, by the environment variable getOption("ROOT_DROPBOX").

Value

loads the object into the global environment

Examples

1
2
3
4
## Not run: 
data_dropbox(data_corpus_SCOTUS)

## End(Not run)

kbenoit/sophistication documentation built on May 12, 2021, 5:57 a.m.