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>.
Package details |
|
---|---|
Author | Michael Breshock [aut], Carrie Wright [aut, cre, ths] (<https://orcid.org/0000-0003-1325-6067>), Stephanie Hicks [aut] (<https://orcid.org/0000-0002-7858-0231>), Leah Jager [ctb] (<https://orcid.org/0000-0003-3362-2298>), John Muschelli [ctb] (<https://orcid.org/0000-0001-6469-1750>), Margaret Taub [ctb] (<https://orcid.org/0000-0001-8008-618X>) |
Maintainer | Carrie Wright <cwrigh60@jhu.edu> |
License | MIT + file LICENSE |
Version | 1.0.2 |
URL | https://github.com/opencasestudies/OCSdata https://doi.org/10.5281/zenodo.5214347 https://www.opencasestudies.org/ |
Package repository | View on CRAN |
Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.