ces-package {ces} | R Documentation |
Canadian Election Study Data Package
Description
Provides tools to easily access and analyze Canadian Election Study data. The package simplifies the process of downloading, cleaning, and using CES datasets for political science research and analysis. The Canadian Election Study (CES) has been conducted during federal elections since 1965, surveying Canadians on their political preferences, engagement, and demographics.
Key Functions
-
get_ces
: Download and load CES data for a specific year -
list_ces_datasets
: List available CES datasets -
get_ces_subset
: Get a subset of variables from a CES dataset -
create_codebook
: Generate a comprehensive codebook for CES datasets -
download_pdf_codebook
: Download official PDF codebooks -
download_ces_dataset
: Download a single CES dataset -
download_all_ces_datasets
: Download all CES datasets
Data Sources
Data is accessed from multiple sources including the Borealis Data repository (the primary institutional repository for most CES datasets) and the official Canadian Election Study website. This package is not officially affiliated with the Canadian Election Study, Borealis Data, or the University of British Columbia, and users should cite the original data sources in their work.
Author(s)
Laurence-Olivier M. Foisy
References
For more information about the Canadian Election Study, visit: https://ces-eec.arts.ubc.ca/
See Also
Useful links: