Download Data from the 'Open Case Studies' Repository

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>.


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("OCSdata")

1.0.2 by Carrie Wright, a month ago


https://github.com/opencasestudies/OCSdata, https://doi.org/10.5281/zenodo.5214347, https://www.opencasestudies.org/


Report a bug at https://github.com/opencasestudies/OCSdata/issues


Browse source code at https://github.com/cran/OCSdata


Authors: Michael Breshock [aut] , Carrie Wright [aut, cre, ths] , Stephanie Hicks [aut] , Leah Jager [ctb] , John Muschelli [ctb] , Margaret Taub [ctb]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports usethis, purrr, httr

Suggests testthat, covr, knitr, rmarkdown


See at CRAN