Evidence

Catalog · table

State-level returns

Statewide U.S. election returns by candidate, 1976-2024: presidential, U.S. Senate and 2016 statewide state-office returns, stacked in long format. One row per state, office, contest stage, candidate and party ballot line.

This table contains U.S. state-level election returns, with one row per candidate, party, election year, office, electoral stage, and voting mode. It covers elections from 1976 to 2024. Analysts should aggregate votes by filtering or grouping across dimensions like candidate, party, or mode, and note that candidate names may include non-standard categories such as 'WRITE-IN' or 'OTHER'.

Described
by Base dos Dados, Evidence model
Publisher
Laboratório de Dados e Ciência Eleitoral do MIT
Source page
basedosdados.org
Licence
Unknown · reuse unknown
Period
1976 to 2024 (by year, every 2) · by Base dos Dados
Area
United States
Grain
one row per US state, election year, office, candidate, and party, for a specific electoral stage and voting mode · verified on the data
Rows
23,495
Source updated
2026-07-10
Topics
Politics
Catalog level
L2 · structured

How to use

Connect your agent to Evidence's MCP server and ask in plain language. The agent finds this table, reads its columns and caveats, and runs the query for you.

Connect · Claude Code
claude mcp add --transport http -s user evidence \
  https://mcp.evidence.so/mcp \
  --header "Authorization: Bearer $MCP_API_KEY"

Then ask, for example:

Which candidates received the highest number of votes in general elections for governor in 2016?

Columns (15)

NameTypeRoleDescriptionMeaning
yearintegertimeAno da eleição.Time: event, by year
stagestringdimensionEtapa eleitoral: gen (geral), pri (primária) ou runoff (segundo turno).—
id_statestringreferenceCódigo FIPS do estado (2 dígitos, preenchido com zeros à esquerda).Coded by Estado (id_state) · verified
officestringdimensionCargo disputado (ex.: US PRESIDENT, US SENATE, GOVERNOR).—
districtstringdimensionDistrito do cargo; em branco para disputas estaduais.—
indicator_specialbooleanflagIndica se a disputa foi uma eleição especial.—
candidatestringdimensionNome do candidato, em maiúsculas.—
party_detailedstringdimensionLegenda partidária completa da candidatura, em maiúsculas.—
party_simplifiedstringdimensionPartido agregado em DEMOCRAT, REPUBLICAN, LIBERTARIAN ou OTHER.—
indicator_writeinbooleanflagIndica se o candidato foi inscrito manualmente na cédula (write-in).—
modestringdimensionModalidade de votação; TOTAL quando os resultados não são desagregados por modalidade.—
votesintegermeasureVotos recebidos pelo candidato nesta linha da cédula.Unit: Countacross units: sum · over time: don't combine · across breakdowns: sum
total_votesintegermeasureTotal de votos apurados na disputa.Unit: Count
indicator_unofficialbooleanflagIndica se os resultados são não oficiais.—
versionstringtechnicalData de finalização do conjunto de dados de origem (AAAAMMDD).—

Caveats

  • other · district

    Curated by Evidence · full text through the MCP

  • other · candidate, party_detailed

    Curated by Evidence · full text through the MCP

  • known error · version

    Curated by Evidence · full text through the MCP

urn:table:bdd:us_medsl_elections.state · metadata by Evidence under CC BY 4.0; the data keeps its publisher's licence.