clean_ces_data {ces}R Documentation

Clean Canadian Election Study Dataset

Description

This function performs cleaning operations on CES data, including recoding variables, converting factors, and standardizing column names.

Usage

clean_ces_data(data, year, language = "en")

Arguments

data

A tibble or data.frame containing raw CES data.

year

A character string indicating the year of the CES data.

language

A character string indicating the language for labels ("en" or "fr").

Value

A cleaned tibble with standardized variables.


[Package ces version 0.1.0 Index]