Builds a csdb_profile in which every column is schema_only. Use it with
simulate_from_profile() for a table that has no real profile.
Value
A csdb_profile. Each column has type, sensitivity
"schema_only" and missing_share 0. n_rows is 0, and
provenance$source is "schema".
See also
Other simulation functions:
profile_compare(),
simulate_from_profile()
Examples
p <- profile_schema(c(id = "INTEGER", sex = "TEXT"), keys = "id")
simulate_from_profile(p, n = 5)
#> id sex
#> <int> <char>
#> 1: 1 sex_9
#> 2: 2 sex_4
#> 3: 3 sex_7
#> 4: 4 sex_1
#> 5: 5 sex_2
