Skip to content

syntheticdata

0.1.0Package record

Synthetic Clinical Data Generation and Privacy-Preserving Validation

0packages depend
1.2Kdownloads / year
92.1%test coverage
13/13flavors OK

Overview

About

Generates synthetic clinical datasets that preserve statistical properties while reducing re-identification risk. Implements Gaussian copula simulation, bootstrap with noise injection, and Laplace noise perturbation, with built-in utility and privacy validation metrics. Useful for privacy-aware data sharing in multi-site clinical research. Validates synthetic data quality via distributional similarity (Kolmogorov-Smirnov), discriminative accuracy (real-vs-synthetic classifier), and nearest-neighbor privacy ratio. Methods described in Jordon et al. (2022) doi:10.48550/arXiv.2205.03257 and Snoke et al. (2018) doi:10.1111/rssa.12358.

Changes in 0.1.0
  • Initial release.
  • synthesize(): Parametric (Gaussian copula), bootstrap with noise injection, and Laplace noise perturbation methods.
  • validate_synthetic(): Distributional similarity (KS), correlation preservation, discriminative accuracy (AUC), and nearest-neighbor privacy ratio.
  • compare_methods(): Benchmark all three synthesis methods on the same dataset.
  • privacy_risk(): Re-identification risk assessment via nearest-neighbor distance ratio, membership inference, and attribute disclosure.
  • model_fidelity(): Train-on-synthetic, test-on-real predictive performance comparison.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.3 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • NOTE12 OK, 1 NOTE2026-06-08
  • OK3 OK2026-04-03
Advisories

none known

Documentation

In release 0.1.0
READMEYes · 399 wordsVignettesYes · 1 · dynamicNEWSYes · 67% structured · mentions 0.1.0Citation fileYes · software entry only
Help pages
6 (1 internal)includes a package overview page
Examples that run
100%5 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
83%

Downloads

1.2K
CRAN downloads in the past year
Rank #23,860 · ~3/day · ~103/mo
Daily download trend is not available in this view yet.
21830 days
54090 days
1.2K1 year
Compare downloads with other packages →
Also on41 r2u4 autocran

Repository

1Stars
0Forks
0Open issues
0Open PRs
0Releases
26Commits
1Commit identities
clinical-datacrandifferential-privacyhealthcareprivacy-preservingrr-packagesynthetic-data
26 commits · Last activity 2026-04-19 · 0% stars, 30d · Default branch at 0.1.1, ahead of CRAN 0.1.0 (checked 2026-10-25)
Responsiveness
not measured

Stars over time

2026-04-27 · 12026-07-07 · 1
PracticesBeta

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

Checks run against github.com/cuiweig/syntheticdata on 2026-10-25.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows

Governance and community (3)
Code of conductContributing guideIssue templates
Docs source (3)
pkgdown

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

Reproducibility and dev environment (1)
data-raw/
Show all practicesHide 2 practices
CRAN release process (1)
cran-comments.md
Research and citation (1)
codemeta.json
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing syntheticdata adds 15 packages (9 with compiled code, 5.2 MB of source tarballs). Heaviest: vctrs 1.0 MB, dplyr 902 KB, rlang 766 KB.

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

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.1.0 (2026), Copyright holder
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.0Latest
    2026-04-02 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-04-02
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Download size
148 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("syntheticdata")

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

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

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