inst/CITATION: Cite the published SoftwareX article
(Rathore, 2026, SoftwareX 35:102860,
https://doi.org/10.1016/j.softx.2026.102860) in addition to the package manual.download_ccsr() / read_ccsr(): Strip surrounding quotes from character columns in HCUP CSVs so ICD and CCSR values join reliably.ccsr_map(): Diagnosis mapping now expands CCSR Category 1–6 so cross-classifications appear in long and wide outputs; wide uses slot-aligned CCSR_1…CCSR_6; long diagnosis output includes is_default; fixed spurious wide column from unmatched rows.get_ccsr_description(): Normalize quoted CCSR codes when matching.list_ccsr_versions(): Merge scraped versions with direct file checks so current releases (e.g. v2026.1) appear.ccsr_changelog(): When version is explicit, skip interactive prompts for import format and sheet selection by default.R CMD check: inst/CITATION now uses bibentry(); examples that require network, local files, or optional PDF tooling use \donttest{}; unused pkgdown removed from Suggests; non-package paths added to .Rbuildignore.download_ccsr(): Download CCSR mapping files directly from HCUP websiteProper encoding and leading zero preservation for ICD-10 codes
read_ccsr(): Read CCSR mapping files from disk
Optional data.table output for large datasets
ccsr_map(): Map ICD-10 codes to CCSR categories
Automatic type inference (diagnosis vs. procedure)
get_ccsr_description(): Retrieve clinical descriptions for CCSR codes
Returns comprehensive description data frames
list_ccsr_versions(): List available CCSR versions
Caching for improved performance
ccsr_changelog(): Access CCSR change logs
download_trend_tables(): Download HCUP Summary Trend TablesDynamic discovery of available tables from HCUP website
read_trend_table(): Read Summary Trend Table Excel files
Support for data.table output
list_trend_table_sheets(): List available sheets in trend table files
hcup_citation(): Generate proper citations for HCUP resourcesAny scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.