Skip to contents

Get the current hospital hospital value based purchasing data.

Usage

current_hvbp_data(
  .data,
  .data_sets = c("Outcomes", "Efficiency", "Engagement", "Safety", "TPS")
)

Arguments

.data

The data that results from the current_hosp_data() function.

.data_sets

The default is: c("Outcomes","TPS"), which will bring back all of the data sets that are in the hospital VBP data sets. You can choose from the following:

  • Outcomes

  • Efficiency

  • Engagement

  • Safety

  • TPS

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

Value

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

Details

This function will obtain the current hospital VBP 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,

Author

Steven P. Sanderson II, MPH

Examples

if (FALSE) {
current_hosp_data() |>
  current_hvbp_data(.data_sets = c("Outcomes","Safety"))
}