Learn R Programming

ppmf (version 0.1.3)

read_ppmf: Read in PPMF Data

Description

This reads in PPMF data from a file. Use download_ppmf() if you do not have a local copy of the ppmf data.

Usage

read_ppmf(state, path)

Arguments

state

two letter state (+ DC + PR) abbreviation or two digit state fips code

path

where the data is saved to

Value

tibble of ppmf data

Examples

Run this code
# NOT RUN {
# Takes a few minutes and requires read access to files
temp <- tempdir()
path <- download_ppmf('ppmf_12.csv', dir = temp)
# If you already have it downloaded, point to it with path:
ppmf <- read_ppmf('AL', path)
# }

Run the code above in your browser using DataLab