Package: OCSdata 1.1.0

Carrie Wright

OCSdata: 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. See <https://github.com/opencasestudies/OCSdata/blob/master/README.md> for instructions and examples. To cite an individual case study, please see the 'README' file in the respective case study repository: <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>.

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

OCSdata_1.1.0.tar.gz
OCSdata_1.1.0.zip(r-4.5)OCSdata_1.1.0.zip(r-4.4)OCSdata_1.1.0.zip(r-4.3)
OCSdata_1.1.0.tgz(r-4.4-any)OCSdata_1.1.0.tgz(r-4.3-any)
OCSdata_1.1.0.tar.gz(r-4.5-noble)OCSdata_1.1.0.tar.gz(r-4.4-noble)
OCSdata_1.1.0.tgz(r-4.4-emscripten)OCSdata_1.1.0.tgz(r-4.3-emscripten)
OCSdata.pdf |OCSdata.html
OCSdata/json (API)
NEWS

# Install 'OCSdata' in R:
install.packages('OCSdata', repos = c('https://opencasestudies.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/opencasestudies/ocsdata/issues

On CRAN:

data-sciencepublic-health

4.49 score 1 stars 31 scripts 268 downloads 15 exports 33 dependencies

Last updated 4 months agofrom:2209828afd. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 12 2024
R-4.5-winOKNov 12 2024
R-4.5-linuxOKNov 12 2024
R-4.4-winOKNov 12 2024
R-4.4-macOKNov 12 2024
R-4.3-winOKNov 12 2024
R-4.3-macOKNov 12 2024

Exports:clone_ocsclone_ocs_repoextra_dataimported_dataload_extra_dataload_imported_dataload_raw_dataload_repoload_simpler_importload_wrangled_dataraw_datasimpler_import_datawrangled_csvwrangled_rdazip_ocs

Dependencies:askpassclicliprcrayoncredentialscurldescfsgertghgitcredsgluehttrhttr2inijsonlitelifecyclemagrittrmimeopensslpurrrR6rappdirsrlangrprojrootrstudioapisysusethisvctrswhiskerwithryamlzip

OCSdata Instructions

Rendered frominstructions.Rmdusingknitr::rmarkdownon Nov 12 2024.

Last update: 2021-08-16
Started: 2021-05-28