Giter Club home page Giter Club logo

cms's Introduction

cms R Package: Tools for Calculating CMS Medicare Reimbursement

Travis build status AppVeyor build status

License: GPL v3 CRAN version CRAN Downloads

Overview

The cms R package uses the CMS (Center for Medicare & Medicaid Services) API to provide useRs access to databases containing annually-updated Medicare reimbursement rates. Data is available for all localities in the United States. Currently, support is only provided for the Medicare Physician Fee Schedule (MPFS), but support will be expanded for other CMS databases in future versions. In summary, cms implements programmatic access to healthcare reimbursement data via the CMS API and the R programming language.

Installation

To install cms, run the following R code:

# install from CRAN
install.packages("cms")

# install development version from GitHub
devtools::install_github("subramv/cms")

# install development version with vignettes
devtools::install_github("subramv/cms", build_vignettes = TRUE)

Sample code

The following code pulls the 2019 MPFS national payment file for all localities:

# load cms
library(cms)

#pull MPFS national payment file
mpfs19 <- get_mpfs(19)

More details can be found in the package vignettes.

Functionality

cms is designed to automate import and cleaning of CMS publically-available databases for useRs to use. Databases are downloaded to a user-specified directory and by default are stored as compressed source files for re-use. At present, this functionality has been implemented for the MPFS.

Contributions

Please report any bugs, suggestions, etc. on the issues page of the cms GitHub repository. Contributions (bug fixes, new features, etc.) are welcome via pull requests (generally from forked repositories).

cms's People

Contributors

rrrlw avatar subramv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cms's Issues

Submit v0.1.0 to CRAN

  • make repo public (otherwise URLs in DESCRIPTION will be identified as invalid; also needs to be public for Travis and AppVeyor)
  • check if package passes Travis CI (Linux, r-release)
  • check if package passes AppVeyor CI (Windows, r-release)
  • submit package to win-builder (Windows, r-devel)
  • check package locally with R CMD build & check (optional, given checks above)
  • create LICENSE (sticking w/ GPL-3?)
  • create NEWS.md
  • create cran-comments.md
  • finish README.md (or README.Rmd)
  • submit to CRAN and follow instructions on confirmation email
  • accepted by CRAN
  • repo release created for v0.1.0
    Edit:
  • add repo description and topics (r, cran, r-package, medicare, medicare-data, reimbursement would be good ones)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.