Data from the United States Center for Medicare and Medicaid Services (CMS) is included in this package. There are ICD-9 and ICD-10 diagnostic and procedure codes, and lists of the chapter and sub-chapter headings and the ranges of ICD codes they encompass.
See documentation for the R package: icd for how to use this data.
You can install icd.data from github with:
# install.packages("devtools")
::install_github("jackwasey/icd.data") devtools