Package: OCSdata 1.1.0
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:
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')) |
Bug tracker:https://github.com/opencasestudies/ocsdata/issues
Last updated 4 months agofrom:2209828afd. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 12 2024 |
R-4.5-win | OK | Nov 12 2024 |
R-4.5-linux | OK | Nov 12 2024 |
R-4.4-win | OK | Nov 12 2024 |
R-4.4-mac | OK | Nov 12 2024 |
R-4.3-win | OK | Nov 12 2024 |
R-4.3-mac | OK | Nov 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
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Clone Case Study Repository | clone_ocs |
Download Open Case Study Extra Data | extra_data |
Download Open Case Study Imported Data | imported_data |
OCSdata: A package for downloading data from the 'Open Case Studies' repository | OCSdata |
Download Open Case Study Raw Data | raw_data |
Download Open Case Study Simpler Import Data | simpler_import_data |
Download Open Case Study Wrangled Data - CSVs | wrangled_csv |
Download Open Case Study Wrangled Data - RDAs | wrangled_rda |
Download Case Study Repository Zip File | zip_ocs |