UMCSTaR / medicareR

R Package to Standardize and Make Analytic files from Medicare Data

Home Page:https://umcstar.github.io/medicareR/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://umcstar.github.io/medicareR/

License:GNU General Public License v3.0


Languages

Language:R 100.0%