election_catalog: Election catalog

election_catalogR Documentation

Election catalog

Description

A named list documenting all races available in the Florida 2000 general election dataset. Each element is named by the election code used as a column name in the county microdata files.

Usage

election_catalog

Format

A named list. Each element contains:

type

Race type: "single_member", "multi_member", or "referendum".

office

Full name of the office or ballot measure.

level

Scope of the election: "federal", "state", "county", "district", or "local".

counties

Character vector of county codes/names that include this race, or the string "all" if every county in the dataset participates.

vote_for

Maximum number of candidates the voter could select.

options

Character vector of individual candidate (voting options) abbreviations as they appear in the data (e.g. c("Bau", "Duf")), including observed combinations (e.g. "BauDuf") as derived automatically from the microdata.

candidates

Character vector of individual candidate (voting options) (e.g. c("Barret", "Bauchert", "Berkowitz", "Brown", "Duff", "Abstention", "Invalid vote")). This field documents the individual candidates (options) on the ballot.

Details

In the microdata files, votes are recorded as follows:

  • A candidate code or combination (e.g. "R", "D", "BauDuf", "Y") for a valid vote cast.

  • "A" for a blank vote: the voter was eligible but did not mark a choice in this race. Treated as an active category in all summaries.

  • "I" for an invalid vote: the voter's mark(s) was not counted. Treated as an active category in all summaries.

  • NA for structural non-participation: the voter was not eligible to vote in this race (e.g. a race restricted to a specific district). NA values exclude the voter from the universe of that race.

The distinction between "A", "I", and NA is critical for ecological inference: only NA values define the universe boundary.

See Also

county_catalog, list_elections(), list_counties(), ei_summary()

Examples

# Inspect the presidential race entry
election_catalog[["PRE"]]

# List all federal races
list_elections(level = "federal")

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