Skip to content

coder

0.13.10

Deterministic Categorization of Items Based on External Code Data

0packages depend
3.3Kdownloads / year
99.3%test coverage
13/13checks pass

Overview

About
Maintained by Erik BulowFirst published 2021-01-183 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 2.5 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.32
99.3%
Coverage · measured lines
92%
Documentation · exports
5
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 1,108 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
87%
Return-value docs
89%
References docs
18%

Downloads

3.3K
CRAN downloads in the past year
Rank #13,024 · ~9/day · ~277/mo
Daily download trend is not available in this view yet.
22030 days
77290 days
3.3K1 year
Compare downloads with other packages →
Also on106 r2u22 autocran

Repository

Repository
22Stars
4Forks
6Open issues
1Open PRs
3Releases
316Commits
17Contributors
rpackager-packageclassificationicd-10rstats
316 commits · Last activity 2025-05-05

Stars over time

2023-12-10 · 222026-07-07 · 22

Repository practices

Upstream repositoryBeta

8 development-tooling and community-health practices detected across 7 families in the upstream repository

Checks run against github.com/ropensci/coder on 2026-08-16.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Docs source (1)
README.Rmd
Show all practices
Research and citation (1)
codemeta.json
Lint, format, editor (1)
RStudio project
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.3
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Reviewers (2)
Package Timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.13.10Latest
    2023-03-14 · current release · diff ↗
  • 0.13.8
    2022-08-29 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.13.5
    2021-01-18
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2021-01-18
Total releases
3 / 5 yrs
License
GPL-2 OSI
Minimum R
≥ 3.3
Bundled data
78 KB / 10 files
Download size
268 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("coder")
Bulow, E., Robinson, D., & Zabore, E. C. (2023). coder: Deterministic Categorization of Items Based on External Code Data (Version 0.13.10) [Computer software]. https://doi.org/10.32614/CRAN.package.coder

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for coder version 0.13.10 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy