synthpop
1.9-2Generating Synthetic Versions of Sensitive Microdata for Statistical Disclosure Control
Overview
A tool for producing synthetic versions of microdata containing confidential information so that they are safe to be released to users for exploratory analysis. The key objective of generating synthetic data is to replace sensitive original values with synthetic ones causing minimal distortion of the statistical information contained in the data set. Variables, which can be categorical or continuous, are synthesised one-by-one using sequential modelling. Replacements are generated by drawing from conditional distributions fitted to the original data using parametric or classification and regression trees models. Data are synthesised via the function syn() which can be largely automated, if default settings are used, or with methods defined by the user. Optional parameters can be used to influence the disclosure risk and the analytical quality of the synthesised data. For a description of the implemented method see Nowok, Raab and Dibben (2016) doi:10.18637/jss.v074.i11. Functions to assess identity and attribute disclosure for the original and for the synthetic data are included in the package, and their use is illustrated in a vignette on disclosure (Practical Privacy Metrics for Synthetic Data).
Install
Health
- NOTE r-devel-linux-x86_64-debian-clang
- NOTE r-devel-linux-x86_64-debian-gcc
- NOTE r-devel-linux-x86_64-fedora-clang
- NOTE r-devel-linux-x86_64-fedora-gcc
- NOTE r-devel-windows-x86_64
- NOTE2026-07-1111 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0712 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 96%
- Documented parameters
- 96%
- Return-value docs
- 100%
- References docs
- 48%
Downloads
Dependencies
Code & Tests
Datasets
People & History
21 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 1.9-2Latest
- 1.9-1.12025-06-03 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 1.9-12025-03-06 · diff ↗
- 1.9-02024-12-20 · diff ↗
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 1.8-02022-08-31 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.7-02021-11-17 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.6-02020-09-04 · diff ↗
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 1.5-12019-03-20 · diff ↗
Show 18 earlier events
- 1.5-02018-08-16 · diff ↗
- 1.4-42018-06-27 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 1.4-32018-03-19 · diff ↗
- 1.4-12018-01-06 · diff ↗
- 1.4-02017-11-20 · diff ↗
- 1.3-22017-07-10 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 1.3-12016-11-23 · diff ↗
- 1.3-02016-10-24 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 1.2-12016-03-15 · diff ↗
- 1.2-02016-02-03 · diff ↗
- 1.1-12015-07-08 · diff ↗
- RR 3.2.0 released · 2015-04-16
- 1.1-02015-02-21 · diff ↗
- 1.0-02014-08-18
- RR 3.1.0 released · 2014-04-10
Package metadata
- First published
- 2014-08-18
- Total releases
- 21 / 12 yrs
- License
- GPL-2 | GPL-3 OSI
- Bundled data
- 121 KB / 1 file
- Download size
- 1.6 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet