This function loads the variable dictionary for a specific year (2015–2021) or the comparative dictionary across all years.

load_dictionary(year)

Arguments

year

A character string specifying the year (e.g., "2015", "2016", ..., "2021") or "comparison" to load the cross-year dictionary.

Value

A data frame containing the selected dictionary.

Examples

dict_comparison <- load_dictionary("combined")