knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)

About

An R data package contains state-year-month level Medicaid birth procedures fees, collected by Diane Alexander for the paper Does Physician Compensation Affect Procedure Choice and Patient Health? Evidence from Medicaid C-section Use.

Installation

# install.package("devtools")
devtools::install_github("jjchern/csfee")

Usage

library(dplyr)
csfee::csfee

library(ggplot2)
csfee::csfee %>%
        filter(usps == "AR") %>%
        ggplot(data = ., aes(x = zoo::as.Date(yearmon), y = fee, colour = cpt)) +
        geom_line() +
        scale_x_date(labels = scales::date_format("%Y-%m"))

Shiny App

To further explore the data, check out the shiny app.



jjchern/csfee documentation built on May 19, 2019, 11:38 a.m.