list_dataset_columns_sql | R Documentation |
Internal function that processes column names for SQL-based data
(birth, death, chars). Adds any 'bonus' variables that will
be created by the get_data
functions. Use by
list_dataset_columns
.
list_dataset_columns_sql(config, year, mykey, kingco, analytic_only)
config |
List of configuration settings for the dataset that are defined
by |
year |
Year(s) of dataset to check. Only applies to BRFSS, HYS, and PUMS data.
For PUMS data, this is limited to a single year (e.g., 2023) or a continuous
5-year period (e.g., 2018:2022). Defaults to |
mykey |
Character vector of length 1 OR a database connection. Identifies
the |
kingco |
Logical. Toggle for King County ( |
analytic_only |
Logical. Controls whether columns outside the analytic
dataset should be returned. Only applies to HYS data. Defaults to
|
data.table with var.names column
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.