prettify_col_names | R Documentation |
Renames referendum data column names to be ready for publication. Useful e.g. to create tables or visualizations.
prettify_col_names(data)
data |
RDB referendum data as returned by |
Note that
column names unknown to this function are not changed.
column labels are removed so they aren't inadvertently used instead of the column names (i.a. relevant for gt >= 0.9.0).
A tibble.
Other referendum data transformation functions:
as_ballot_dates()
,
n_rfrnds()
,
n_rfrnds_per_period()
,
unnest_var()
Other functions to prettify names:
prettify_var_names()
rdb::rfrnds(quiet = TRUE) |>
rdb::prettify_col_names()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.