Skip to contents

Create Privacy-Preserving View with Small-Cell Masking

Usage

with_cell_suppression(
  con,
  view_name,
  output_view = NULL,
  min_cell_size = 10L,
  count_columns = NULL,
  fill_value = "<10"
)

Arguments

con

Active DuckDB connection (DBI::dbConnect).

view_name

Source view or table name.

output_view

Target view name (default: "safe_" || view_name).

min_cell_size

Minimum count threshold to display (default 10).

count_columns

Optional character vector of count columns to redact.

fill_value

Replacement value for suppressed counts (default "<10").

Value

Name of created privacy view.