Skip to contents

Role discovery

Inspect a data frame and decide what each column is.

propose_roles()
Propose role classifications for the columns of a data frame
roles_validate()
Validate a roles tibble

Design detection

Identify the experimental design and visualise it for sanity.

detect_design()
Detect the experimental-design structure of a data frame
plot_design_summary()
Sanity-check visualisation for a detected design

Masking

Produce a structurally faithful synthetic clone of one tabular dataset.

mask()
Mask a tabular dataset into a structurally faithful development surrogate
synthetic()
Extract the synthetic data from a masque object
recipe()
Extract the recipe from a masque object

Recipe round-trip

Persist a recipe and re-target a pipeline between original and synthetic.

save_recipe()
Save a masque recipe to disk
read_recipe()
Read a masque recipe from disk
apply_recipe()
Translate a data frame into the synthetic namespace
unmask()
Translate data from the synthetic namespace back to the original
reveal_maps()
Reveal the level maps held inside a recipe

Leakage audit

Check a synthetic for residual structural leakage.

audit_mask()
Audit a masque object for leakage and shareability risks

Geospatial post-processing

Re-anchor synthetic coordinates at plausible-but-fake locations while preserving site-count clustering.

synthesise_geospatial()
Re-anchor synthetic geospatial coordinates at plausible-but-fake locations

Package

masque masque-package
masque: Structurally Faithful Development Surrogates for Tabular Data