Access and Work with HCUP Resources and Datasets

A comprehensive R package for accessing and working with publicly available and free resources from the Agency for Healthcare Research and Quality (AHRQ) Healthcare Cost and Utilization Project (HCUP). The package provides streamlined access to HCUP's Clinical Classifications Software Refined (CCSR) mapping files and Summary Trend Tables, enabling researchers and analysts to efficiently map ICD-10-CM diagnosis codes and ICD-10-PCS procedure codes to CCSR categories and access HCUP statistical reports. Key features include: direct download from HCUP website, multiple output formats (long/wide/default), cross-classification support, version management, citation generation, and intelligent caching. The package does not redistribute HCUP data files but facilitates direct download from the official HCUP website, ensuring users always have access to the latest versions and maintain compliance with HCUP data use policies. This package only accesses free public tools and reports; it does NOT access HCUP databases (NIS, KID, SID, NEDS, etc.) that require purchase. For more information, see < https://hcup-us.ahrq.gov/>.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("HCUPtools")

1.0.2 by Vikrant Dev Rathore, 3 months ago


https://github.com/vikrant31/HCUPtools, https://vikrant31.github.io/HCUPtools/


Report a bug at https://github.com/vikrant31/HCUPtools/issues


Browse source code at https://github.com/cran/HCUPtools


Authors: Vikrant Dev Rathore [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports httr2, readr, dplyr, tidyr, tibble, utils, stats, rlang, xml2, readxl

Suggests testthat, knitr, rmarkdown, data.table, pdftools


See at CRAN