Skip to content

FlexRL

1.0.0Package record

Flexible Record Linkage and Linked Data Quality Assessment

0packages depend
5.2Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Probabilistically link records that refer to the same entities across two data sources without a unique identifier, using partially identifying variables such as product code, brand, category, birth year, sex or postal code. 'FlexRL' implements a Stochastic Expectation Maximisation (StEM) approach to Record Linkage (Robach et al., 2025, doi:10.1093/jrsssc/qlaf016). The model accounts for registration errors (missing values and mistakes) and for variables that change over time, enforces one-to-one assignment, and has a low memory footprint. The package also provides tools for inference on linked data: two estimators of the false discovery proportion of a linkage (Robach et al., 2025, doi:10.1002/sim.70292), based on linkage scores and on synthetic data, and diagnostics comparing the linked sample with the source data. These tools also apply on the linkage output of other record linkage packages.

Changes in 1.0.0
  • Functions and arguments renamed, data configuration functions added.
  • New survival_model(): the change over time of a structured PIV can be modelled with an exponential (default), Weibull, Gompertz, piecewise-constant or user-defined survival function, passed to StEM() through the survival_model argument. alpha chains are named after the model parameters. SurvivalUnstable() and loglikSurvival() are obsolete. cond_hazard_params are now given on the parameter scale of the model (log-hazards for the exponential model).
  • New RL_diagnostics(): provides record linkage diagnostics over linkage decision rules (thresholds from 0.50 to 0.99); internally computes FDP_measures and discrepancy_measures useful for downstream inference; print(x, threshold = ) and plot(x, type = ) display the diagnostics,
Show all changes in 1.0.0Hide the rest of the changes in 1.0.0
  • New link_with_<pkg>() record linkage wrappers created for several packages: multilink, fastLink, BRL, reclin2, diyar, fedmatch, FlexRL. They return a named list (idxA, idxB, LinkScore) that can be passed directly to RL_diagnostics().
  • Useless dependencies dropped; R >= 4.1.0.
  • Bugs corrected, warnings added.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 4.0 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-10-10
  • NOTE12 OK, 1 NOTE2026-07-11
  • OK14 OK2026-04-22
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.0.0
READMENoVignettesYes · 1 · staticNEWSYes · 100% structured · mentions 1.0.0Citation fileYes · cites a publicationWebsiteYes · pkgdown
Help pages
36includes a package overview page
Examples that run
100%24 run in a plain check
Exported functions with examples
74%
Documented parameters
96%
Return-value docs
100%
Help pages citing references
0%
Vignettes (1)

Downloads

5.2K
CRAN downloads in the past year
Rank #10,135 · ~14/day · ~431/mo
Daily download trend is not available in this view yet.
45030 days
1K90 days
5.2K1 year
Compare downloads with other packages →
Also on420 r2u4 autocran

Repository

1Stars
1Forks
0Open issues
0Open PRs
1Releases
95Commits
1Commit identities
License file reads as GPL-3.0 · 95 commits · Last activity 2026-10-22 · 0% stars, 30d · Default branch at 1.0.1, ahead of CRAN 1.0.0 (checked 2026-10-18)
Responsiveness
How these are sampled
PRs merged (all time)
50%
Median days to close, 50 most recently updated closed issues
215
Median days to close, 50 most recently updated closed PRs
not measured

Stars over time

2026-01-22 · 12026-07-07 · 1
PracticesBeta

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

Checks run against github.com/robachowyk/flexrl on 2026-10-18.

Continuous integration (1)
GitHub Actions
Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-10-14 · The repository has a site deploy workflow

pkgdown site last built 2026-10-14

CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
14 external dependencies (excludes base and recommended)

Installing FlexRL adds 130 packages (76 with compiled code, 116 MB of source tarballs). Heaviest: BH 14 MB, stringi 11 MB, TH.data 8.2 MB.

Depends (1)
R >= 4.1.0
Imports (16)
LinkingTo (1)
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Author, Maintainer since 0.1.0 (2024), Copyright holder
Author, Copyright holder
Listed in earlier versions (1)
Michel H.
no longer listed · 0.1.1 to 1.0.0
Releases (3)

Pick two releases to compare their code metrics.

  • 1.0.0Latest
    record
    2026-10-07 · current release · diff ↗ ·
    removed 20 exports
    DataCreation, Deltafind, ExpandGrid, F2, F33, SurvivalUnstable, cartesianProduct, createDataAlpha, generateSequence, initDeltaMap, launchNaive, logPossibleConfig, loglik, loglikSurvival, sampleD, sampleH, sampleL, sampleNL, sspaste2, stEM
    added 29 exports
    FDP_score, FDP_synth, RL_agreement, RL_diagnostics, StEM, compute_RL_FDP_score, compute_augmRL_FDP_synth, create_data_alpha, link_with_BRL, link_with_FlexRL, link_with_diyar, link_with_fastLink, link_with_fedmatch, link_with_multilink, link_with_reclin2, log_lik, log_possible_config, mmd, naive_linkage, plot_StEM_convergence, plot_distributions, plot_linkage_scores, prepare_data, prop_level, simulate_data, smd, support_iou, survival_model, synthesise
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.1
    record
    2025-09-26 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.0
    record
    2024-12-09
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-12-09
Total releases
3 / 2 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.1.0
Download size
3.5 MB

Cite

Cite this package

Run in R for the authors' entry:

citation("FlexRL")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.1093/jrsssc/qlaf016.

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 FlexRL version 1.0.0 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

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