Learn R Programming

readmit (version 0.0.1)

hsr_cohort_summary: Extract cohort summary information from a Hospital-Specific Report (HSR)

Description

Parses the Table 2 cohort summary from the HSR, including (but not limited to) the discharge/readmission volumes, predicted/expected readmission rates, peer group medians, and DRG ratios.

Note: CMS changed the format of Hospital-Specific Reports (HSRs) for FY2026 (see here). The current HSR functions support formats through FY2025.

Usage

hsr_cohort_summary(file)

Value

A tibble::tibble() containing the full Table 2 parsed from the report.

Arguments

file

File path to a report.

Examples

Run this code
# Access a report
my_report <- hsr_mock_reports("FY2025_HRRP_MockHSR.xlsx")

# Extract the cohort summary as a dataset
hsr_cohort_summary(my_report)

Run the code above in your browser using DataLab