knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
Currently in development
The carecompare
package is an R
toolkit built to enable US hospitals and health systems to access, explore, and analyze performance in quality measures and payment programs from the Centers for Medicare and Medicaid Services (CMS).
devtools::install_github("zajichek/carecompare")
require(carecompare)
# Extract the topics topics <- pdc_topics() topics # Examine the metadata for a given topic hospital_data <- pdc_datasets("Hospitals") hospital_data # Search for a dataset hospital_data %>% dplyr::filter( title %>% stringr::str_detect( pattern = "(?i)readmission" ) ) %>% knitr::kable(format = "pandoc") # Import the data for a given dataset pdc_read( datasetid = "9n3s-kdb3" )
hospitals cms_payments() cms_msdrg()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.