View source: R/HCUP_timemap_funs.R
parse_data | R Documentation |
Parse ASCII Files
parse_data(path, file_type, data_source, state, year, n_max = Inf)
path |
(Character) Path to ASCII file |
file_type |
(Character) Which file to parse (e.g., core, ahal, severity) |
data_source |
(Character) The data set source, either SEDD or SID |
state |
(Character) Two-letter abbervation for the desired state |
year |
(Character) Typically, a four digit expression of desired year but may be 2015q1q3 or 2015q4 to accomdate the switch from ICD-9 to ICD-10 on 2015/10/01 |
n_max |
(Numeric) Number of rows to read in. Defaults to infinity. Useful for testing. |
A tibble of the parsed data from the data located at path
using the parameters detailed by file_type
, data_source
,
state
, year
and the version guessed by
find_data_version()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.