An R package for easy access to the Opioid Environment Policy Scan (OEPS) datasets.
- Documentation and vignettes here: oepsData.healthyregions.org
- Documentation is built with bookdown and lives in the
bookdown
branch of this repository (healthyregions/oepsData)
- Documentation is built with bookdown and lives in the
- Core repo for OEPS data management: healthyregions/oeps
- OEPS Explorer: oeps.healthyregions.org
Please report bugs and leave feedback in Github issues. Thanks!
Clone this repo and open in RStudio. Then the following commands can be run in the console:
devtools::load_all()
Load all functions into namespace without actually installing the packagedevtools::install_github()
- Installs the package. Re-run this command to re-install.devtools::document()
- Build docs.devtools::check()
- Run checks across the package. - Note:curl
is imported in the package, but never directly called, which produces a warning
Data dictionaries are downloaded from Github and parsed with data-raw/AddInternalData.R
. To update data dictionaries:
source("data-raw/AddInternalData.R")
- If you get an error like
cannot unload 'dplyr'
while running this command, try closing and reopening RStudio.
R.sysdata
will be altered -- commit these changes.
Ashlynn Wimer (@bucketteOfIvy) Adam Cox (@mradamcox)