
Last chance! 50% off unlimited learning
Sale ends in
For versions 23 to 32, those which are on the CMS web site, get any codes with long or short descriptions. Earlier years only have abbreviated descriptions.
parse_leaf_descriptions_all(save_data = TRUE, offline = TRUE)
single logical value, if TRUE
the source text or CSV
file will be saved in data-raw
, otherwise (the default) the data is
simply returned invisibly.
single logical, if TRUE
then don't pull the file from
internet, only return path and file name if the file already exists in
data-raw. This is helpful for testing without using the internet.
data frame with icd9
, short_desc
and long_desc
columns. NA
is placed
in long_desc
when not available.
# NOT RUN {
# To populate the data-raw directory with the ICD-9 source:
# not included in installed package, run using the full source from github,
# e.g. using devtools::load_all()
# }
# NOT RUN {
parse_leaf_descriptions_all(save_data = TRUE, offline = TRUE)
# }
Run the code above in your browser using DataLab