Package: HCUPtools 1.0.1

HCUPtools: 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/>.
Authors:
HCUPtools_1.0.1.tar.gz
HCUPtools_1.0.1.zip(r-4.7)HCUPtools_1.0.1.zip(r-4.6)HCUPtools_1.0.1.zip(r-4.5)
HCUPtools_1.0.1.tgz(r-4.6-any)HCUPtools_1.0.1.tgz(r-4.5-any)
HCUPtools_1.0.1.tar.gz(r-4.7-any)HCUPtools_1.0.1.tar.gz(r-4.6-any)
HCUPtools_1.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
HCUPtools/json (API)
| # Install 'HCUPtools' in R: |
| install.packages('HCUPtools', repos = c('https://vikrant31.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/vikrant31/hcuptools/issues
Pkgdown/docs site:https://vikrant31.github.io
Last updated from:fc8b36e6b7. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 147 | ||
| source / vignettes | OK | 179 | ||
| linux-release-x86_64 | OK | 128 | ||
| macos-release-arm64 | OK | 166 | ||
| macos-oldrel-arm64 | OK | 222 | ||
| windows-devel | OK | 394 | ||
| windows-release | OK | 380 | ||
| windows-oldrel | OK | 374 | ||
| wasm-release | OK | 116 |
Exports:ccsr_changelogccsr_mapdownload_ccsrdownload_trend_tablesget_ccsr_descriptionhcup_citationlist_ccsr_versionslist_trend_table_sheetsread_ccsrread_trend_table
Dependencies:askpassbitbit64cellrangerclicliprcpp11crayoncurldplyrgenericsgluehmshttr2lifecyclemagrittropensslpillarpkgconfigprettyunitsprogresspurrrR6rappdirsreadrreadxlrematchrlangstringistringrsystibbletidyrtidyselecttzdbutf8vctrsvroomwithrxml2
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Get CCSR Change Log | ccsr_changelog |
| Map ICD-10 Codes to CCSR Categories | ccsr_map |
| Download CCSR Mapping Files from HCUP | download_ccsr |
| Download HCUP Summary Trend Tables | download_trend_tables |
| Get CCSR Category Descriptions | get_ccsr_description |
| Generate Citation for HCUP Resources | hcup_citation |
| List Available CCSR Versions | list_ccsr_versions |
| List Available Sheets in Trend Table | list_trend_table_sheets |
| Read CCSR Mapping Files from Disk | read_ccsr |
| Read HCUP Summary Trend Table from Disk | read_trend_table |
