
Create Privacy-Preserving View with Differential Privacy Laplace Noise
Source:R/federation.R
with_differential_privacy.RdCreate Privacy-Preserving View with Differential Privacy Laplace Noise
Usage
with_differential_privacy(
con,
view_name,
output_view = NULL,
epsilon = 1,
delta = 1e-05,
count_columns = NULL
)Arguments
- con
Active DuckDB connection (DBI::dbConnect).
- view_name
Source view or table name.
- output_view
Target view name (default:
"dp_" || view_name).- epsilon
Differential privacy budget parameter (default 1.0).
- delta
Privacy failure bound (default 1e-5).
- count_columns
Optional character vector of count columns to privatize.