county_catalog: County catalog

county_catalogR Documentation

County catalog

Description

A named list mapping each county data file to the race codes it contains. Used internally to determine which county files must be loaded for a given set of races.

Usage

county_catalog

Format

A named list. Each element is named by the county code (matching the .RData filename without extension) and contains a character vector of the race codes present in that county's file.

Details

The county code is used to construct the filename: county "Lee" maps to Lee.RData. This list is consulted by get_election_data() and ei_summary() to determine which files to load.

See Also

election_catalog, list_counties(), get_county_data()

Examples

# Races available in Lee county
county_catalog[["Lee"]]

# All counties in the dataset
names(county_catalog)

eiballots documentation built on Sept. 26, 2026, 5:06 p.m.