county_meta: Retrieve county metadata

View source: R/county.R

county_metaR Documentation

Retrieve county metadata

Description

Returns the county metadata object for a given county. This is the metadata counterpart to get_county_data(): where get_county_data() loads the full microdata (heavy), county_meta() returns the lightweight summary (counts, races, observed vote options).

Usage

county_meta(county)

Arguments

county

Character string (county code, e.g. "Lee") or an object of class county (e.g. Lee). If an object is supplied, it is returned unchanged.

Value

An object of class county. See county for its structure.

See Also

county, get_county_data(), list_counties()

Examples

county_meta("Lee")
county_meta(Lee)      # pass-through: already a county object


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