coder: Deterministic Categorization of Items Based on External Code Data

Fast categorization of items based on external code data identified by regular expressions. A typical use case considers patient with medically coded data, such as codes from the International Classification of Diseases ('ICD') or the Anatomic Therapeutic Chemical ('ATC') classification system. Functions of the package relies on a triad of objects: (1) case data with unit id:s and possible dates of interest; (2) external code data for corresponding units in (1) and with optional dates of interest and; (3) a classification scheme ('classcodes' object) with regular expressions to identify and categorize relevant codes from (2). It is easy to introduce new classification schemes ('classcodes' objects) or to use default schemes included in the package. Use cases includes patient categorization based on 'comorbidity indices' such as 'Charlson', 'Elixhauser', 'RxRisk V', or the 'comorbidity-polypharmacy' score (CPS), as well as adverse events after hip and knee replacement surgery.

Version: 0.13.10
Depends: R (≥ 3.3)
Imports: data.table, decoder, generics, methods, tibble
Suggests: covr, testthat, knitr, rmarkdown, writexl
Published: 2023-03-14
DOI: 10.32614/CRAN.package.coder
Author: Erik Bulow ORCID iD [aut, cre], Emely C Zabore [rev] (Emily reviewed the package (v. 0.12.1) for rOpenSci, see <https://github.com/ropensci/software-review/issues/381>), David Robinson [rev] (David reviewed the package (v. 0.12.1) for rOpenSci, see <https://github.com/ropensci/software-review/issues/381>)
Maintainer: Erik Bulow <eriklgb at gmail.com>
BugReports: https://github.com/ropensci/coder/issues
License: GPL-2
URL: https://docs.ropensci.org/coder/
NeedsCompilation: no
Language: en-US
Materials: README NEWS
CRAN checks: coder results

Documentation:

Reference manual: coder.pdf
Vignettes: Interpret regular expressions
Classcodes
coder
Example data

Downloads:

Package source: coder_0.13.10.tar.gz
Windows binaries: r-devel: coder_0.13.10.zip, r-release: coder_0.13.10.zip, r-oldrel: coder_0.13.10.zip
macOS binaries: r-release (arm64): coder_0.13.10.tgz, r-oldrel (arm64): coder_0.13.10.tgz, r-release (x86_64): coder_0.13.10.tgz, r-oldrel (x86_64): coder_0.13.10.tgz
Old sources: coder archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=coder to link to this page.

mirror server hosted at Truenetwork, Russian Federation.