Skip to content

HCUPtools

1.0.2

Access and Work with HCUP Resources and Datasets

0packages depend
3Kdownloads / year
20.7%test coverage
13/13checks pass

Overview

About
Maintained by Vikrant Dev RathoreFirst published 2025-12-103 releasesCRAN page ↗GitHub ↗

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/.

Install

Health

CRAN checks
13OK
Slowest check: 1.7 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.04
20.7%
Coverage · measured lines
100%
Documentation · exports
10
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
10%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

3K
CRAN downloads in the past year
Rank #9,505 · ~8/day · ~252/mo
Daily download trend is not available in this view yet.
Also on57 r2u15 autocran

Repository

Repository
2Stars
2Forks
0Open issues
0Open PRs
1Releases
11Commits
1Contributors
11 commits · Last activity 2026-07-13 · 0% stars, 30d

Stars over time

2025-12-11 · 22026-07-07 · 2

Repository practices

Upstream repositoryBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/vikrant31/hcuptools on 2026-08-09.

Continuous integration (1)
GitHub Actions
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
13 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 1.0.2Latest
    2026-07-13 · current release · diff ↗
  • 1.0.1
    2026-05-11 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.0
    2026-03-10
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-12-10
Total releases
3 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Download size
130 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("HCUPtools")
Vikrant Dev Rathore. (2026). HCUPtools: Access and Work with HCUP Resources and Datasets (Version 1.0.2) [Computer software]. https://doi.org/10.32614/CRAN.package.HCUPtools

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for HCUPtools version 1.0.2 [Data set]. HJJB, LLC. Data release v2026-08-15. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-15, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy