parseAhrqSas
, this function reads SAS code, and
in, a very limited way, extracts definitions. In this case the code uses
LET statements, with strings or lists of strings. This saves and invisibly
returns a list with names corresponding to the comorbidities and values as
a vector of 'short' form (i.e. non-decimal) ICD9 codes. Unlike
parseAhrqSas
, there are no ranges defined, so this interpretation is
simpler.parseQuanDeyoSas(sasPath = NULL, condense = FALSE, save = FALSE,
saveDir = "~/icd9/data")
devtools
, this is actually
inst/extdata. This function is internal, since iFALSE
so that the saved list will allow rapid look-up of codes
without further processing. Small memory versus tFALSE
."~/icd9/data"
.
Could possibly avoid hard-coding path with devtools functions.