Returns unique values for a column in a dataset. Useful for exploring categorical variables.
Arguments
- dataset_id
Character. The unique dataset identifier (e.g., "swc5-untb" for PLACES data). You can find this in the dataset URL or via
cdc_datasets().- column
Character. The column name.
- where
Character. SoQL WHERE clause for filtering rows. Example:
"year = '2023' AND stateabbr = 'MN'"- limit
Integer. Maximum distinct values to return (default 100).
- ...
Arguments passed to
cdc_query()