Skip to content

An R package for easy access to the Opioid Environment Policy Scan (OEPS) datasets.

License

Notifications You must be signed in to change notification settings

healthyregions/oepsData

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oepsData

An R package for easy access to the Opioid Environment Policy Scan (OEPS) datasets.

Please report bugs and leave feedback in Github issues. Thanks!

Development

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 package
  • devtools::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

Managing data dictionaries

Data dictionaries are downloaded from Github and parsed with data-raw/AddInternalData.R. To update data dictionaries:

  1. source("data-raw/AddInternalData.R")
  • If you get an error like cannot unload 'dplyr' while running this command, try closing and reopening RStudio.
  1. R.sysdata will be altered -- commit these changes.

Authors

Ashlynn Wimer (@bucketteOfIvy) Adam Cox (@mradamcox)

License

CC BY 4.0

About

An R package for easy access to the Opioid Environment Policy Scan (OEPS) datasets.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages