tidysynthesis0.1.2 package

A Common API for Synthesizing Data

add_noise_kde

Add normal noise to predicted values with variances calculated for nti...

add_noise_laplace

Add Laplace noise with mean 0 to predicted values with constant varian...

add_sequence_factor

Add to visit sequence for factor variables

add_sequence_manual

Add to visit sequence using a manual method

add_sequence_numeric

Add to visit sequence for numeric variables

collapse_na

Collapse data frames with _NA variables to coerce related variables to...

invert.step_BoxCox

Invert a Box-Cox transformation

invert.step_log

Invert a log transformation

invert.step_YeoJohnson

Invert a Yeo-Johnson transformation

print.visit_sequence

Print method for visit_sequence objects

replicates_api

Add, update, or reset a replicates object within an existing `roadma...

replicates

Create a replicates object

roadmap

Create a roadmap

sample_glm

Sample the conditional distribution created by a generalized linear mo...

sample_lm

Sample the conditional distribution created by a linear model

sample_ranger

Sample the conditional distribution created by a ranger rf model

synth_spec_model_api

Add, update, or remove custom models from a synth_spec object

synth_spec_noise_api

Add, update, or remove noise from a synth_spec object

synth_spec_recipes_api

Add, update, or remove recipe recipes from a synth_spec object

update_presynth

Update presynth object

update_synth_spec

Tidy API calls -------------------------------------------------------...

visit_sequence_api

Add or reset a visit_sequence object within an existing roadmap.

visit_sequence

Generate a visit sequence.

sample_rpart

Sample the conditional distribution created by a CART model

schema_api

Add, update, or reset a schema object within an existing roadmap.

print.synth_spec

Print the replicates object to the console with formatting

print.schema

Print the schema object to the console with formatting

print.start_method

Print the start_method object to the console with formatting

print.replicates

Print the replicates object to the console with formatting

enforce_na

Add missing values where values should be missing according to _NA var...

add_noise_cat_unif

Inject noise into a categorical random variable by mixing a sample of ...

add_noise_disc_gaussian

Add discrete normal noise with mean 0 to predicted values with constan...

add_noise_disc_laplace

Add discrete Laplace noise with mean 0 to predicted values with consta...

add_noise_gaussian

Add normal noise with mean 0 to predicted values with constant varianc...

enforce_schema

Enforce a roadmap's schema on its existing data

invert

An S3 method for inverting a step

constraints_api

Add, update, or reset a constraints object within an existing `roadm...

constraints

Create a constraints object

construct_extractors

Construct a list of extractors for parsnip models

construct_models

Construct a list of models for synthesis

construct_noise

Construct a list of noise objects for synthesis

expand_na

Add new variables that indicate if a value is "missing" or "not missin...

construct_recipes

Construct a sequence of model recipes for sequential synthesis

construct_samplers

Construct a list of samplers for synthesis

construct_tuners

Construct a list of tuning grids for hyperparameter tuning predictive ...

convert_level_to_na

Convert "NA" values to NA for categorical variables

convert_na_to_level

Convert NA values to "NA" for categorical variables

dot-name_to_inspect

constant mapping between component names and inspections

enforce_custom_na

Redefine NA value for a dataset.

ks_distance

Kolmogorov-Smirnov distance

noise

Create a noise object

presynth

Create a presynth object

print.constraints

Print the constraints object to the console with formatting

print.noise

Print the noise object to the console with formatting

print.postsynth

Print the postsynth object to the console with formatting

print.presynth

print method for presynth objects

schema

Generate a schema object.

start_method_api

Add, update, or reset a start method within an existing roadmap.

start_method

Create a start_method object.

start_resample

Specify a resampling scheme for start_data

synth_spec_extractor_api

Add, update, or remove extractors from a synth_spec object

synth_spec_is_component

Inspections for synth_spec components

synth_spec_sampler_api

Add, update, or remove samplers from a synth_spec object

synth_spec_tuner_api

Add, update, or remove tuners from a synth_spec object

synth_spec

Create a synth_spec object

synthesize

Synthesize a data set

tune_synthesis

Generate syntheses from multiple presynth objects.

A system built on 'tidymodels' for generating synthetic tabular data. We provide tools for ordering a sequential synthesis, feature and target engineering, sampling, hyperparameter tuning, enforcing constraints, and adding extra noise during a synthesis.

  • Maintainer: Aaron R. Williams
  • License: GPL-3
  • Last published: 2025-11-11