Flexible Record Linkage and Linked Data Quality Assessment
Overview
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.
- 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 toStEM()through thesurvival_modelargument.alphachains are named after the model parameters.SurvivalUnstable()andloglikSurvival()are obsolete.cond_hazard_paramsare 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 = )andplot(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 toRL_diagnostics(). - Useless dependencies dropped; R >= 4.1.0.
- Bugs corrected, warnings added.
From NEWS.md in the release
Install
Health
- OK13 OK2026-10-10
- NOTE12 OK, 1 NOTE2026-07-11
- OK14 OK2026-04-22
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-10
Documentation
- 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%
- FlexRL-RL-vignette HTML
Downloads
Repository
- 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
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
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.
GitHub Pages site last deployed 2026-10-14 · The repository has a site deploy workflow
pkgdown site last built 2026-10-14
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 1.0.0Latest2026-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, stEMadded 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 - RR 4.6.0 released · 2026-04-24
- 0.1.12025-09-26 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 0.1.02024-12-09
- RR 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.
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.