Election
import type { Election } from "https://googleapis.deno.dev/v1/civicinfo:v2.ts";
Information about the election that was queried.
interface Election {
electionDay?: string;
id?: bigint;
name?: string;
ocdDivisionId?: string;
shapeLookupBehavior?: "shapeLookupDefault" | "shapeLookupDisabled" | "shapeLookupEnabled";
}§Properties
§
ocdDivisionId?: string
[src]The political division of the election. Represented as an OCD Division ID. Voters within these political jurisdictions are covered by this election. This is typically a state such as ocd-division/country:us/state:ca or for the midterms or general election the entire US (i.e. ocd-division/country:us).