CRAN/E | coder

coder

Deterministic Categorization of Items Based on External Code Data

Installation

About

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.

docs.ropensci.org/coder/
Bug report File report

Key Metrics

Version 0.13.10
R ≥ 3.3
Published 2023-03-14 409 days ago
Needs compilation? no
License GPL-2
CRAN checks coder results
Language en-US

Downloads

Yesterday 18 +100%
Last 7 days 80 +29%
Last 30 days 296 +8%
Last 90 days 823 -19%
Last 365 days 3.491 -8%

Maintainer

Maintainer

Erik Bulow

eriklgb@gmail.com

Authors

Erik Bulow

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>)

Material

README
NEWS
Reference manual
Package source

Vignettes

Interpret regular expressions
Classcodes
coder
Example data

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

coder archive

Depends

R ≥ 3.3

Imports

data.table
decoder
generics
methods
tibble

Suggests

covr
testthat
knitr
rmarkdown
writexl