| passthrough_result | R Documentation |
For sheets that are empty, have no modelled columns, or are too small to
synthesise (fewer than 4 * minbucket subject rows): legends, codebooks,
lookup tables, tiny pilot tables.
passthrough_result(src, spec, how = c("blank", "copy", "drop"), reason = "")
src |
A |
spec |
Its spec. |
how |
|
reason |
Recorded in |
A synth_result with settings$passthrough set.
df <- data.frame(id = sprintf("AB%03d", 1:6), value = 1:6)
path <- file.path(tempdir(), "passthrough_result.csv")
utils::write.csv(df, path, row.names = FALSE, na = "")
src <- read_source(path)
spec <- infer_spec(src)
res <- passthrough_result(src, spec, how = "blank", reason = "Tiny table")
res$synthetic
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.