list_ces_datasets {ces} | R Documentation |
List Available Canadian Election Study Datasets
Description
This function returns information about available CES datasets that can be accessed through the package.
Usage
list_ces_datasets(details = FALSE)
Arguments
details |
Logical indicating whether to return detailed information about each dataset. Default is FALSE. |
Value
If details is FALSE, a character vector of available dataset years. If TRUE, a tibble with columns for year, type, and description.
Examples
# Get list of available years
list_ces_datasets()
# Get detailed information
list_ces_datasets(details = TRUE)
[Package ces version 0.1.0 Index]