icd10_parse_ahrq_ccs: parse AHRQ CCS for mapping - ICD10
Description
Data is downloaded from AHRQ website. ICD10 codes are continually being
updated so a parameter for version is provided. This parameter should
mimic those found in
https://www.hcup-us.ahrq.gov/toolssoftware/ccs10/ccs10.jsp#archive.
These are in the format of YYYY.1, YYYY.2 etc.
string in format like "2018.1" where 1 is the version number
as shown on the website
save_data
logical whether to save the result in the source tree.
Defaults to FALSE.
offline
single logical, if TRUE then don't pull the file from
internet, only return path and file name if the file already exists in the
raw data directory. This is helpful for testing without using the internet.