Description Usage Arguments Value
View source: R/parse-comorbid.R
Takes the raw data taken directly from the AHRQ web site and parses into RData. It is then saved in the development tree data directory, so this is an internal function, used in generating the package itself!
1 2 | parseAhrqSas(sasPath = system.file("extdata", "comformat2012-2013.txt",
package = "icd9"), save = FALSE, path = "data", verbose = FALSE)
|
sasPath |
single character string containing path or URL for some SAS
code. The source SAS code is stored in extdata or at the location specified
in URL. In development mode in |
save |
logical whether to save the result in the source tree. Defaults
to |
path |
path to directory to save the data. This is typically the data
folder in the devleopment source tree. Defaults to |
verbose |
single logical value, defaults to |
condense |
logical whether to condense the result ranges to the minimal
set of parent ICD-9 codes which exactly define the list. Defaults to
|
returnAll |
logical which, if TRUE, will result in the invisible return of ahrqComorbidAll result, otherwise, ahrqComorbid is reutrned. |
invisibly returns the list of vectors, where a co-morbidity name is associated with a character vector of ICD-9 codes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.