View source: R/dl-cur-hosp-data.R
current_hosp_data | R Documentation |
Download the current Hospital Data Sets.
current_hosp_data(path = utils::choose.dir())
path |
The location to download and unzip the files |
This function will download the current and the official hospital data sets from the CMS.gov website.
The function makes use of a temporary directory and file to save and unzip the data. This will grab the current Hospital Data Files, unzip them and return a list of tibbles with each tibble named after the data file.
The function returns a list object with all of the current hospital data as a tibble. It does not save the data anywhere so if you want to save it you will have to do that manually.
This also means that you would have to store the data as a variable in order to access the data later on. It does have a given attributes and a class so that it can be piped into other functions.
Downloads the current hospital data sets.
Steven P. Sanderson II, MPH
https://data.cms.gov/provider-data/topics/hospitals/
Other Hospital Data:
current_asc_data()
,
current_asc_oas_cahps_data()
,
current_comp_death_data()
,
current_hai_data()
,
current_hcahps_data()
,
current_hvbp_data()
,
current_ipfqr_data()
,
current_maternal_data()
,
current_medicare_hospital_spending_data()
,
current_oqr_oas_cahps_data()
,
current_outpatient_imaging_efficiency_data()
,
current_payments_data()
,
current_pch_hai_hospital_data()
,
current_pch_hcahps_data()
,
current_pch_oncology_measures_hospital_data()
,
current_pch_outcomes_data()
,
current_timely_and_effective_care_data()
,
current_unplanned_hospital_visits_data
,
current_va_data()
## Not run:
current_hosp_data()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.