Dataset Viewer
Auto-converted to Parquet Duplicate
poll_date
stringdate
2026-05-05 00:00:00
2026-10-03 00:00:00
institute
stringclasses
24 values
register_tse
stringclasses
99 values
candidate
stringclasses
7 values
poll_pct
float64
0.3
47
polymarket_pct
float64
0.05
65.5
polymarket_date
stringdate
2026-05-05 00:00:00
2026-10-03 00:00:00
divergence_pp
float64
-13.65
27.9
2026-05-05
Real Time Big Data
BR-03627/2026
Lula
40
36.5
2026-05-05
-3.5
2026-05-05
Real Time Big Data
BR-03627/2026
Flávio
34
44.05
2026-05-05
10.05
2026-05-05
Real Time Big Data
BR-03627/2026
Caiado
5
1.15
2026-05-05
-3.85
2026-05-05
Real Time Big Data
BR-03627/2026
Zema
4
4.65
2026-05-05
0.65
2026-05-05
Real Time Big Data
BR-03627/2026
Renan
3
5.45
2026-05-05
2.45
2026-05-07
Paraná Pesquisas
null
Flávio
39.3
45
2026-05-07
5.7
2026-05-07
Paraná Pesquisas
null
Lula
36
37.5
2026-05-07
1.5
2026-05-08
Paraná Pesquisas
null
Flávio
44.6
43.85
2026-05-08
-0.75
2026-05-08
Paraná Pesquisas
null
Lula
29.8
37.5
2026-05-08
7.7
2026-05-13
Quaest/Genial
null
Lula
39
45.5
2026-05-13
6.5
2026-05-13
Quaest/Genial
null
Flávio
33
28.45
2026-05-13
-4.55
2026-05-13
Quaest/Genial
null
Caiado
4
1.25
2026-05-13
-2.75
2026-05-13
Quaest/Genial
null
Zema
4
12
2026-05-13
8
2026-05-15
Datafolha
BR-00290/2026
Lula
39
42.5
2026-05-15
3.5
2026-05-15
Datafolha
BR-00290/2026
Flávio
35
33.35
2026-05-15
-1.65
2026-05-19
AtlasIntel
null
Lula
47
44.5
2026-05-19
-2.5
2026-05-19
AtlasIntel
null
Flávio
34.3
31.3
2026-05-19
-3
2026-05-20
Vox Brasil
null
Lula
46.8
44.5
2026-05-19
-2.3
2026-05-20
Vox Brasil
null
Flávio
38.1
31.3
2026-05-19
-6.8
2026-05-22
Datafolha
null
Lula
40
45.5
2026-05-22
5.5
2026-05-22
Datafolha
null
Flávio
31
28.05
2026-05-22
-2.95
2026-05-27
Indexa Pesquisas
null
Lula
39
40.5
2026-05-27
1.5
2026-05-27
Indexa Pesquisas
null
Flávio
30
28.75
2026-05-27
-1.25
2026-05-28
Meio/Ideia
BR-02918/2026
Lula
38.5
41.5
2026-05-28
3
2026-05-28
Meio/Ideia
BR-02918/2026
Flávio
31.5
28.65
2026-05-28
-2.85
2026-05-28
Meio/Ideia
BR-02918/2026
Caiado
5.5
1.45
2026-05-28
-4.05
2026-05-28
Meio/Ideia
BR-02918/2026
Zema
2.4
2.85
2026-05-28
0.45
2026-05-28
Meio/Ideia
BR-02918/2026
Renan
2.1
15.05
2026-05-28
12.95
2026-06-01
Real Time Big Data
BR-05864/2026
Lula
38
40.5
2026-06-01
2.5
2026-06-01
Real Time Big Data
BR-05864/2026
Flávio
31
29.2
2026-06-01
-1.8
2026-06-01
Real Time Big Data
BR-05864/2026
Caiado
6
2.6
2026-06-01
-3.4
2026-06-01
Real Time Big Data
BR-05864/2026
Renan
6
16.8
2026-06-01
10.8
2026-06-01
Real Time Big Data
BR-05864/2026
Zema
4
2.8
2026-06-01
-1.2
2026-06-05
Vox Brasil
BR-08016/2026
Lula
42.1
41.5
2026-06-05
-0.6
2026-06-05
Vox Brasil
BR-08016/2026
Flávio
33.6
28.2
2026-06-05
-5.4
2026-06-05
Vox Brasil
BR-08016/2026
Caiado
6.9
2.35
2026-06-05
-4.55
2026-06-10
Quaest/Genial
null
Lula
39
44.5
2026-06-10
5.5
2026-06-10
Quaest/Genial
null
Flávio
29
28.65
2026-06-10
-0.35
2026-06-10
Quaest/Genial
null
Renan
3
16.65
2026-06-10
13.65
2026-06-10
Quaest/Genial
null
Caiado
3
1.75
2026-06-10
-1.25
2026-06-10
Quaest/Genial
null
Zema
2
1.85
2026-06-10
-0.15
2026-06-15
BTG/Nexus
BR-06645/2026
Lula
42
51.5
2026-06-15
9.5
2026-06-15
BTG/Nexus
BR-06645/2026
Flávio
33
25.55
2026-06-15
-7.45
2026-06-16
CNT/MDA
BR-04256/2026
Lula
41.8
51.5
2026-06-16
9.7
2026-06-16
CNT/MDA
BR-04256/2026
Flávio
28.2
25.35
2026-06-16
-2.85
2026-06-16
CNT/MDA
BR-04256/2026
Caiado
4
1.95
2026-06-16
-2.05
2026-06-16
CNT/MDA
BR-04256/2026
Zema
2.8
1.35
2026-06-16
-1.45
2026-06-16
CNT/MDA
BR-04256/2026
Renan
2
14.05
2026-06-16
12.05
2026-06-16
Futura/Apex
BR-01461/2026
Lula
41.6
51.5
2026-06-16
9.9
2026-06-16
Futura/Apex
BR-01461/2026
Flávio
34.1
25.35
2026-06-16
-8.75
2026-06-20
Datafolha
BR-09956/2026
Lula
41
51.5
2026-06-20
10.5
2026-06-20
Datafolha
BR-09956/2026
Flávio
31
25.05
2026-06-20
-5.95
2026-06-20
Datafolha
BR-09956/2026
Caiado
3
2.25
2026-06-20
-0.75
2026-06-20
Datafolha
BR-09956/2026
Renan
3
14.35
2026-06-20
11.35
2026-06-20
Datafolha
BR-09956/2026
Zema
2
1.45
2026-06-20
-0.55
2026-06-23
Indexa Pesquisas
null
Lula
42
53.5
2026-06-23
11.5
2026-06-23
Indexa Pesquisas
null
Flávio
31
25.55
2026-06-23
-5.45
2026-06-24
Gerp
null
Lula
37
57.5
2026-06-24
20.5
2026-06-24
Gerp
null
Flávio
34
22.9
2026-06-24
-11.1
2026-06-25
PoderData/Aya
null
Lula
40
56.5
2026-06-25
16.5
2026-06-25
PoderData/Aya
null
Flávio
36
23.45
2026-06-25
-12.55
2026-06-25
PoderData/Aya
null
Renan
4
11.45
2026-06-25
7.45
2026-06-25
PoderData/Aya
null
Caiado
4
1.65
2026-06-25
-2.35
2026-06-27
Vox Brasil
null
Lula
38.3
56.5
2026-06-27
18.2
2026-06-27
Vox Brasil
null
Flávio
32.2
22.15
2026-06-27
-10.05
2026-06-29
BTG/Nexus
BR-08521/2026
Lula
42
56.5
2026-06-29
14.5
2026-06-29
BTG/Nexus
BR-08521/2026
Flávio
34
23.55
2026-06-29
-10.45
2026-06-29
BTG/Nexus
BR-08521/2026
Caiado
5
1.25
2026-06-29
-3.75
2026-06-29
BTG/Nexus
BR-08521/2026
Renan
4
12.55
2026-06-29
8.55
2026-06-29
BTG/Nexus
BR-08521/2026
Zema
3
1.2
2026-06-29
-1.8
2026-07-01
AtlasIntel
BR-04582/2026
Lula
46.3
57.5
2026-07-01
11.2
2026-07-01
AtlasIntel
BR-04582/2026
Flávio
36.6
22.95
2026-07-01
-13.65
2026-07-08
Ideia/Canal Meio
BR-05628/2026
Lula
40.4
61.5
2026-07-08
21.1
2026-07-08
Ideia/Canal Meio
BR-05628/2026
Flávio
32
22.45
2026-07-08
-9.55
2026-07-08
Ideia/Canal Meio
BR-05628/2026
Caiado
4
1.35
2026-07-08
-2.65
2026-07-08
Ideia/Canal Meio
BR-05628/2026
Zema
2.5
0.95
2026-07-08
-1.55
2026-07-08
Ideia/Canal Meio
BR-05628/2026
Renan
2
9.65
2026-07-08
7.65
2026-07-08
Gerp
BR-03067/2026
Lula
36
61.5
2026-07-08
25.5
2026-07-08
Gerp
BR-03067/2026
Flávio
36
22.45
2026-07-08
-13.55
2026-07-08
Gerp
BR-03067/2026
Caiado
4
1.35
2026-07-08
-2.65
2026-07-08
Gerp
BR-03067/2026
Renan
2
9.65
2026-07-08
7.65
2026-07-08
Gerp
BR-03067/2026
Zema
2
0.95
2026-07-08
-1.05
2026-07-13
BTG/Nexus
BR-07981/2026
Lula
40
60.5
2026-07-13
20.5
2026-07-13
BTG/Nexus
BR-07981/2026
Flávio
34
23.85
2026-07-13
-10.15
2026-07-13
BTG/Nexus
BR-07981/2026
Caiado
5
1.45
2026-07-13
-3.55
2026-07-13
BTG/Nexus
BR-07981/2026
Renan
4
10.05
2026-07-13
6.05
2026-07-13
BTG/Nexus
BR-07981/2026
Zema
4
0.85
2026-07-13
-3.15
2026-07-14
Futura/Apex
BR-07294/2026
Lula
40.1
60.5
2026-07-14
20.4
2026-07-14
Futura/Apex
BR-07294/2026
Flávio
36.8
24.85
2026-07-14
-11.95
2026-07-14
Futura/Apex
BR-07294/2026
Caiado
5
1.35
2026-07-14
-3.65
2026-07-14
Futura/Apex
BR-07294/2026
Zema
3.7
0.85
2026-07-13
-2.85
2026-07-14
Futura/Apex
BR-07294/2026
Renan
2.6
10.15
2026-07-14
7.55
2026-07-15
Quaest/Genial
BR-07181/2026
Lula
40
61.5
2026-07-15
21.5
2026-07-15
Quaest/Genial
BR-07181/2026
Flávio
28
25.3
2026-07-15
-2.7
2026-07-15
Quaest/Genial
BR-07181/2026
Caiado
4
1.4
2026-07-15
-2.6
2026-07-15
Quaest/Genial
BR-07181/2026
Renan
3
8.5
2026-07-15
5.5
2026-07-15
Quaest/Genial
BR-07181/2026
Zema
2
0.8
2026-07-15
-1.2
2026-07-15
Quaest/Genial
null
Lula
40
61.5
2026-07-15
21.5
2026-07-15
Quaest/Genial
null
Flávio
28
25.3
2026-07-15
-2.7
2026-07-15
Quaest/Genial
null
Caiado
4
1.4
2026-07-15
-2.6
End of preview. Expand in Data Studio

AFOS — Brazil 2026 Electoral Divergence

AFOS — Brazil 2026 Electoral Divergence Dataset

Harvard Dataverse DOI

🌐 English · Português · Español


English

Open, auditable daily dataset that cross-references prediction markets (Polymarket) × polling institutes (TSE-registered) × press coverage for Brazil's 2026 presidential cycle, with explicit divergence between sources instead of smoothed averages.

Maintained by AFOS Analytics — open-source civic infrastructure for electoral political-risk intelligence. This is the public mirror of the same data the platform serves live, updated daily. Files are dated and append-only: each day adds new files, past dates are never overwritten, and every update is a git commit — so the full history is preserved natively.

🔒 No personal data (privacy / LGPD): contains only public electoral data (market odds, registered polls, news links). No subscriber data, no emails, no leads, no personal information of any kind. The export pipeline is database-free by construction and never accesses any user table. Brazil's LGPD and equivalent principles are respected in full.

License (dual): Data → CC BY 4.0 (LICENSE-CC-BY-4.0); code/scripts → Apache 2.0 (LICENSE-APACHE-2.0). Both require attribution to AFOS Analytics.

Cite: AFOS Analytics. Brazil 2026 Electoral Divergence Dataset. Hugging Face, 2026. CC BY 4.0.

Permanent archive: also deposited at the Harvard Dataverse — DOI 10.7910/DVN/2D0UK7.

Disclaimer: observational research. Not investment advice, not voting guidance. AFOS observes the markets — it does not trade them.


Português

Dataset diário aberto e auditável que cruza mercados de previsão (Polymarket) × institutos de pesquisa (registrados no TSE) × cobertura de imprensa para o ciclo presidencial brasileiro de 2026, com divergência explícita entre as fontes em vez de médias suavizadas.

Mantido pela AFOS Analytics — infraestrutura cívica open-source de inteligência de risco político eleitoral. É o espelho público dos mesmos dados que a plataforma serve ao vivo, atualizado diariamente. Os arquivos são datados e append-only: cada dia adiciona novos arquivos, datas passadas nunca são sobrescritas, e cada atualização é um commit git — o histórico completo fica preservado nativamente.

🔒 Sem dados pessoais (privacidade / LGPD): contém apenas dados eleitorais públicos (odds de mercado, pesquisas registradas, links de notícia). Nenhum dado de assinante, nenhum email, nenhum lead, nenhuma informação pessoal. O pipeline de export é database-free por construção e nunca acessa qualquer tabela de usuário. A LGPD e princípios equivalentes são respeitados integralmente.

Licença (dual): Dados → CC BY 4.0 (LICENSE-CC-BY-4.0); código/scripts → Apache 2.0 (LICENSE-APACHE-2.0). Ambas exigem atribuição à AFOS Analytics.

Citação: AFOS Analytics. Brazil 2026 Electoral Divergence Dataset. Hugging Face, 2026. CC BY 4.0.

Arquivo permanente: também depositado no Harvard Dataverse — DOI 10.7910/DVN/2D0UK7.

Aviso: pesquisa observacional. Não é recomendação de investimento nem orientação de voto. A AFOS observa os mercados — não opera neles.


Español

Dataset diario abierto y auditable que cruza mercados de predicción (Polymarket) × encuestadoras (registradas en el TSE) × cobertura de prensa para el ciclo presidencial brasileño de 2026, con divergencia explícita entre las fuentes en lugar de promedios suavizados.

Mantenido por AFOS Analytics — infraestructura cívica open-source de inteligencia de riesgo político electoral. Es el espejo público de los mismos datos que la plataforma sirve en vivo, actualizado diariamente. Los archivos son fechados y append-only: cada día agrega archivos nuevos, las fechas pasadas nunca se sobrescriben, y cada actualización es un commit git — el historial completo se preserva de forma nativa.

🔒 Sin datos personales (privacidad / LGPD): contiene solo datos electorales públicos (odds de mercado, encuestas registradas, enlaces de noticias). Ningún dato de suscriptor, ningún email, ningún lead, ninguna información personal. El pipeline de exportación es database-free por construcción y nunca accede a ninguna tabla de usuarios. La LGPD y principios equivalentes se respetan íntegramente.

Licencia (dual): Datos → CC BY 4.0 (LICENSE-CC-BY-4.0); código/scripts → Apache 2.0 (LICENSE-APACHE-2.0). Ambas requieren atribución a AFOS Analytics.

Citar: AFOS Analytics. Brazil 2026 Electoral Divergence Dataset. Hugging Face, 2026. CC BY 4.0.

Archivo permanente: también depositado en el Harvard Dataverse — DOI 10.7910/DVN/2D0UK7.

Aviso: investigación observacional. No es asesoría de inversión ni orientación de voto. AFOS observa los mercados — no opera en ellos.


📁 Structure · Estrutura · Estructura

Full column-level definitions for every file are in DATA_DICTIONARY.md. Citation metadata in CITATION.cff; version history in CHANGELOG.md.

🗳️ Electoral polls (priority) · Pesquisas eleitorais · Encuestas

Path Rows Content
polls/tse-registry.csv · .json 913 Official TSE poll registry — full public fields, built directly from the TSE Open Data file. Every presidential poll filed for 2026 with its complete registration sheet: institute, CNPJ, sample, field dates, declared cost, named responsible statistician + CONRE, and the full (un-truncated) methodology and sampling/weighting design — including the demographic/geographic quota design (sex, age, education, income, region) with the declared quota percentages. Registration-design fields only — no per-candidate results, and the complete questionnaire is a PesqEle attachment, not in the open-data file. (Lei 9.504/97 art. 33)
polls/national-poll-results-firstround.csv 578 Published first-round results, long format: one row per candidate × scenario × poll. Carries the TSE registration number, institute, sample, margin, field dates.
polls/national-poll-results-secondround.csv 189 Published head-to-head runoff matchups (candidate1 vs candidate2, percentages).
polls/national-polls.json 83 Full structured national polls with results (first round + runoff + methodology), reconstructed from the platform history. Each poll carries a tse_registration block (full methodology, sampling/weighting design, statistician, CONRE, CNPJ, cost) and, since 2026-06-13, fieldwork-midpoint dating (field_midpoint, days_to_first_round/runoff) plus tse_registration.sample_design (parsed sample composition/weighting — layer A).
polls/sample-demographics.csv 416 Sample-design demographics (layer A), long format: each poll's declared sex/age/education/income quota composition parsed from the TSE sampling plan, with explicit per-poll coverage (full_percentages 34/83 · mentioned_no_pct 49/83). This is sample composition/weighting — not vote-by-demographic crosstabs (layer B), which are not part of TSE open data.
polls/polls-data-{date}.json — Daily snapshot of the national polls referenced on that date.

🗳️ Official result · Resultado oficial · Resultado oficial

Path Rows Content
results/first-round-2026-official.json 1 Final TSE tally of the first round (100% of sections, generated 2026-10-05 12:51): electorate, turnout, abstention, valid, blank and null votes, all twelve candidates with votes and party, and the voting machines of the day (in use, backup, replaced, sections voting on paper), each with its TSE source.
results/first-round-2026-candidates.csv 12 One row per candidate, with votes, percentage of valid votes, party, coalition and TSE status.
results/first-round-2026-summary.csv 14 One row per figure, with the denominator of each percentage declared.
results/first-round-2026-retrospective.csv 18 What each instrument said on the eve: the nine national polls of 2026-10-03 and four Polymarket books, item by item, against the outcome.
results/first-round-2026-retrospective-summary.csv 5 The same comparison one row per instrument, as the panel card shows it: matched or not, and for the polls whether the majority of houses had the winner ahead and whether their range contained the count.

The second round will be added in the same format after 2026-10-25. Details in results/README.md.

📈 Market & divergence time-series

Path Content
data/market-odds-timeseries.csv Polymarket presidential odds per candidate, daily (date, candidate, party, polymarket_pct, volume_usd_m) — full history from 2026-04-04.
data/divergence-timeseries.csv Market × poll divergence per candidate (poll_date, institute, register_tse, candidate, poll_pct, polymarket_pct, polymarket_date, divergence_pp) — each national poll joined to the market odds on its date. The dataset's namesake signal.
data/poll-divergence.csv Poll-level market × poll pairing anchored on each poll's fieldwork midpoint; naive_gap_pp is explicitly flagged naive_winprob_minus_voteshare — the market prices P(win) while the poll reports vote share, so the gap is not scale-reconciled (reconciling the scales is a modeling choice left to the researcher).
data/divergence-{date}.csv Per-day market × poll divergence snapshot, first round (ends 2026-10-04).
data/divergence-second-round-{date}.csv Per-day snapshot for the second round (from 2026-10-05): the two runoff candidates only, with the poll side taken from the Lula × Flávio Bolsonaro head-to-head. See DATA_DICTIONARY.md.

📰 Daily analysis & news

Path Content
snapshots/analysis-criteriosa/{date}.json Daily analysis: market × poll × press, per candidate (incl. quadroComparativo).
snapshots/analysis-cards/{date}.json Thematic cards (sentiment, institutional, macro).
news/news-{date}.json Public news links (source, title, URL, date) — no article bodies.

🎓 For researchers

  • Start with DATA_DICTIONARY.md (every column, type, unit, provenance) and polls/ (the registered-poll universe + published results).
  • Reproducibility: every value traces to a public primary source — the TSE registry, a named pollster's release, or a live Polymarket contract. Nothing is imputed or smoothed; where a number is missing it is left blank, not filled.
  • Editorial stance: AFOS reports divergence between sources rather than a single blended average — the spread is treated as signal, not noise.
  • Demographics: sample-design demographics — the declared composition/weighting of each poll's sample (layer A) — are included (polls/sample-demographics.csv). Vote-by-demographic crosstabs (layer B — e.g. vote share by sex/age/income) are not part of Brazil's TSE open data; institutes publish those separately, so they are intentionally absent here rather than partially scraped.
  • Scale caveat (market vs poll): Polymarket prices probability of winning; polls report vote share. The two divergence files keep both raw values side by side and flag the naive gap accordingly — they are not a like-for-like error metric.
  • Updates: dated and append-only; each daily commit preserves the full history natively (see CHANGELOG.md). The file for the current date may be regenerated during the day; files for dates already closed are never modified.
  • Known errors: see ERRATA.md. When a defect is found in a past date, the file is not rewritten — the correction is published in the errata instead, so the record stays as distributed and the defect stays discoverable. Erros conhecidos em ERRATA.md. · Errores conocidos en ERRATA.md.

Sources / Fontes / Fuentes: Polymarket (live USD markets) · TSE-registered institutes · 400+ press outlets. Method & source code (Apache 2.0): github.com/AFOS-Analytics.

Downloads last month
12,343