Provides functions to access and download data from the 'Open Case Studies' <https://www.opencasestudies.org/> repositories on 'GitHub' <https://github.com/opencasestudies>. Different functions enable users to grab the data they need at different sections in the case study, as well as download the whole case study repository. All the user needs to do is input the name of the case study being worked on. The package relies on the httr::GET() function to access files through the 'GitHub' API. The functions usethis::use_zip() and usethis::create_from_github() are used to clone and/or download the case study repositories. To cite an individual case study, please see the respective 'README' file at <https://github.com/opencasestudies/>. <https://github.com/opencasestudies/ocs-bp-rural-and-urban-obesity> <https://github.com/opencasestudies/ocs-bp-air-pollution> <https://github.com/opencasestudies/ocs-bp-vaping-case-study> <https://github.com/opencasestudies/ocs-bp-opioid-rural-urban> <https://github.com/opencasestudies/ocs-bp-RTC-wrangling> <https://github.com/opencasestudies/ocs-bp-RTC-analysis> <https://github.com/opencasestudies/ocs-bp-youth-disconnection> <https://github.com/opencasestudies/ocs-bp-youth-mental-health> <https://github.com/opencasestudies/ocs-bp-school-shootings-dashboard> <https://github.com/opencasestudies/ocs-bp-co2-emissions> <https://github.com/opencasestudies/ocs-bp-diet>.
Version: | 1.0.2 |
Depends: | R (≥ 3.5.0) |
Imports: | usethis (≥ 2.0.0), purrr (≥ 0.3.0), httr (≥ 1.4.0) |
Suggests: | testthat (≥ 3.0.0), covr, knitr, rmarkdown |
Published: | 2021-08-20 |
Author: | Michael Breshock [aut], Carrie Wright [aut, cre, ths], Stephanie Hicks [aut], Leah Jager [ctb], John Muschelli [ctb], Margaret Taub [ctb] |
Maintainer: | Carrie Wright <cwrigh60 at jhu.edu> |
BugReports: | https://github.com/opencasestudies/OCSdata/issues |
License: | MIT + file LICENSE |
URL: | https://github.com/opencasestudies/OCSdata, https://doi.org/10.5281/zenodo.5214347, https://www.opencasestudies.org/ |
NeedsCompilation: | no |
Materials: | README |
CRAN checks: | OCSdata results |
Reference manual: | OCSdata.pdf |
Vignettes: |
Instructions |
Package source: | OCSdata_1.0.2.tar.gz |
Windows binaries: | r-devel: OCSdata_1.0.2.zip, r-release: OCSdata_1.0.2.zip, r-oldrel: OCSdata_1.0.2.zip |
macOS binaries: | r-release (arm64): OCSdata_1.0.2.tgz, r-oldrel (arm64): OCSdata_1.0.2.tgz, r-release (x86_64): OCSdata_1.0.2.tgz, r-oldrel (x86_64): OCSdata_1.0.2.tgz |
Old sources: | OCSdata archive |
Please use the canonical form https://CRAN.R-project.org/package=OCSdata to link to this page.