Skip to content

coder

0.13.10Package record

Deterministic Categorization of Items Based on External Code Data

0packages depend
3.4Kdownloads / year
99.3%test coverage
13/13flavors OK

Overview

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.

Install

Health

CRAN checks
13OK
Slowest check: 2.4 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.13.10
READMEYes · 1,108 wordsVignettesYes · 4 · dynamicNEWSYes · 100% structured · does not mention 0.13.10Citation fileNoWebsiteYes · pkgdown
Help pages
28 (5 internal)includes a package overview page
Examples that run
93%13 run in a plain check · 1 never run
Exported functions with examples
89%
Documented parameters
87%
Return-value docs
89%
Help pages citing references
18%

Downloads

3.4K
CRAN downloads in the past year
Rank #12,469 · ~9/day · ~285/mo
Daily download trend is not available in this view yet.
29730 days
90190 days
3.4K1 year
Compare downloads with other packages →
Also on78 r2u13 autocran

Repository

22Stars
4Forks
6Open issues
1Open PRs
3Releases
316Commits
17Commit identities
rpackager-packageclassificationicd-10rstats
316 commits · Last activity 2025-05-05 · Default branch at 1.0, ahead of CRAN 0.13.10 (checked 2026-10-22)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
28
Median days to close, 50 most recently updated closed PRs
1

Stars over time

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

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

Checks run against github.com/ropensci/coder on 2026-10-22.

Continuous integration (1)
GitHub Actions
Governance and community (1)
Code of conduct (inherited from ropensci)
Docs source (3)
README.Rmdpkgdown

GitHub Pages site last deployed 2020-12-16

pkgdown site last built 2025-05-05

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 4 practices
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Research and citation (1)
codemeta.json
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)

Installing coder adds 13 packages (8 with compiled code, 11 MB of source tarballs). Heaviest: data.table 5.7 MB, decoder 1.3 MB, vctrs 1.0 MB.

Depends (1)
R >= 3.3
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (3)
Author, Maintainer since 0.13.5 (2021)
Reviewer
David reviewed the package (v. 0.12.1) for rOpenSci, see <https://github.com/ropensci/software-review/issues/381>
Reviewer
Emily reviewed the package (v. 0.12.1) for rOpenSci, see <https://github.com/ropensci/software-review/issues/381>
Releases (3)

Pick two releases to compare their code metrics.

  • 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
    record
    2023-03-14 · current release · diff ↗
  • 0.13.8
    record
    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
    record
    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

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 package has no citation file, so citation() returns this entry built from DESCRIPTION.

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-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, 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