current_ipfqr_data: Get Current Inpatient Psychiatric Facility Quality Measure...

View source: R/get-cur-ip-psy-facility-qr-data.R

current_ipfqr_dataR Documentation

Get Current Inpatient Psychiatric Facility Quality Measure Data.

Description

Get the current Inpatient Psyciatric Facilty data.

Usage

current_ipfqr_data(.data, .data_sets = c("Facility", "State", "National"))

Arguments

.data

The data that results from the current_hosp_data() function.

.data_sets

The default is: c("Facility","State","National"), which will bring back all of the data in the Inpatient Psyciatric Facilty data sets that are in the file. You can choose from the following:

  • Facility

  • National

  • State

You can also pass things like c("state","Nation") as behind the scenes only the Inpatient Psyciatric Facilty data sets are available to the function to choose from and grep is used to find matches with ignore.case = TRUE set.

Details

This function will obtain the current Inpatient Psyciatric Facilty data from the output of the current_hosp_data() function, that is the required input for the .data parameter. You can pass in a list of which of those data sets you would like,

Value

Gets the current IPFQR data from the current hospital data file.

Author(s)

Steven P. Sanderson II, MPH

See Also

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_hosp_data(), current_hvbp_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()

Examples

## Not run: 
current_hosp_data() |>
  current_ipfqr_data(.data_sets = c("State","National"))

## End(Not run)


healthyR.data documentation built on July 4, 2024, 5:07 p.m.