Skip to content

R Package to Standardize and Make Analytic files from Medicare Data

License

Notifications You must be signed in to change notification settings

UMCSTaR/medicareR

Repository files navigation

medicareR

A package that create analysis ready datasets from Medicare data. The code were designed specifically for UofM IHPI Medicare data format. however, it can also be generalized to other medicare data format. This package is used at MEDLab at the department of surgery, University of Michigan

Summary

The goal of medicareR is to make standardized medicare datasets across years including:

  • MBSF
  • MedPAR
  • Carrier Line
  • Carrier Claim

Installation

You can install medicareR from GitHub with devtools:

devtools::install_github("https://github.com/UMCSTaR/medicareR")

Example

# filter procedures
define_proc_by_cpt <- readr::read_csv(paste0("your-data-path1", "cpt_ecs_map.csv"))
  
analytic_cpt = medicareR::procedure_selection(
  std_data_root = "your-data-path2",
  prof_codes_folder = "prof_clm",
  cpt_map = define_proc_by_cpt
)

About

R Package to Standardize and Make Analytic files from Medicare Data

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages