Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 2 new columns ({'volume_usd', 'date'}) and 5 missing columns ({'poll_pct', 'poll_date', 'pollster', 'divergence_pp', 'polymarket_date'}).

This happened while the csv dataset builder was generating data using

hf://datasets/AFOS-Analytics1/chile-2025-electoral-divergence/data/chile-market-odds-timeseries.csv (at revision 675668ae5b366ec06c0f322ad7724b8af68c0665), ['hf://datasets/AFOS-Analytics1/chile-2025-electoral-divergence@675668ae5b366ec06c0f322ad7724b8af68c0665/data/chile-divergence-timeseries.csv', 'hf://datasets/AFOS-Analytics1/chile-2025-electoral-divergence@675668ae5b366ec06c0f322ad7724b8af68c0665/data/chile-market-odds-timeseries.csv', 'hf://datasets/AFOS-Analytics1/chile-2025-electoral-divergence@675668ae5b366ec06c0f322ad7724b8af68c0665/polls/chile-first-round-polls.csv', 'hf://datasets/AFOS-Analytics1/chile-2025-electoral-divergence@675668ae5b366ec06c0f322ad7724b8af68c0665/polls/chile-runoff-polls.csv']

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1837, in _prepare_split_single
                  writer.write_table(table)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 765, in write_table
                  self._write_table(pa_table, writer_batch_size=writer_batch_size)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 773, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2369, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              date: string
              candidate: string
              polymarket_pct: double
              volume_usd: int64
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 734
              to
              {'poll_date': Value('string'), 'pollster': Value('string'), 'candidate': Value('string'), 'poll_pct': Value('float64'), 'polymarket_pct': Value('float64'), 'polymarket_date': Value('string'), 'divergence_pp': Value('float64')}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1361, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 940, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1683, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1839, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 2 new columns ({'volume_usd', 'date'}) and 5 missing columns ({'poll_pct', 'poll_date', 'pollster', 'divergence_pp', 'polymarket_date'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/AFOS-Analytics1/chile-2025-electoral-divergence/data/chile-market-odds-timeseries.csv (at revision 675668ae5b366ec06c0f322ad7724b8af68c0665), ['hf://datasets/AFOS-Analytics1/chile-2025-electoral-divergence@675668ae5b366ec06c0f322ad7724b8af68c0665/data/chile-divergence-timeseries.csv', 'hf://datasets/AFOS-Analytics1/chile-2025-electoral-divergence@675668ae5b366ec06c0f322ad7724b8af68c0665/data/chile-market-odds-timeseries.csv', 'hf://datasets/AFOS-Analytics1/chile-2025-electoral-divergence@675668ae5b366ec06c0f322ad7724b8af68c0665/polls/chile-first-round-polls.csv', 'hf://datasets/AFOS-Analytics1/chile-2025-electoral-divergence@675668ae5b366ec06c0f322ad7724b8af68c0665/polls/chile-runoff-polls.csv']
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

poll_date
string
pollster
string
candidate
string
poll_pct
float64
polymarket_pct
float64
polymarket_date
string
divergence_pp
float64
2025-05-09
Cadem
Jeannette Jara
4
1.5
2025-05-09
-2.5
2025-05-09
Cadem
Gonzalo Winter
6
1.5
2025-05-09
-4.5
2025-05-09
Cadem
Carolina Tohá
12
12.5
2025-05-09
0.5
2025-05-09
Cadem
Franco Parisi
4
1.6
2025-05-09
-2.4
2025-05-09
Cadem
Evelyn Matthei
20
57.5
2025-05-09
37.5
2025-05-09
Cadem
José Antonio Kast
14
13
2025-05-09
-1
2025-05-09
Cadem
Johannes Kaiser
6
6.9
2025-05-09
0.9
2025-05-09
ICSO-UDP
Jeannette Jara
6
1.5
2025-05-09
-4.5
2025-05-09
ICSO-UDP
Gonzalo Winter
5
1.5
2025-05-09
-3.5
2025-05-09
ICSO-UDP
Jaime Mulet
0
1.4
2025-05-09
1.4
2025-05-09
ICSO-UDP
Carolina Tohá
11
12.5
2025-05-09
1.5
2025-05-09
ICSO-UDP
Franco Parisi
5
1.6
2025-05-09
-3.4
2025-05-09
ICSO-UDP
Evelyn Matthei
23
57.5
2025-05-09
34.5
2025-05-09
ICSO-UDP
José Antonio Kast
19
13
2025-05-09
-6
2025-05-09
ICSO-UDP
Johannes Kaiser
10
6.9
2025-05-09
-3.1
2025-05-14
B&W
Jeannette Jara
13
1.4
2025-05-14
-11.6
2025-05-14
B&W
Gonzalo Winter
8
4.3
2025-05-14
-3.7
2025-05-14
B&W
Jaime Mulet
1
0.8
2025-05-14
-0.2
2025-05-14
B&W
Carolina Tohá
15
26
2025-05-14
11
2025-05-14
B&W
Franco Parisi
4
0.6
2025-05-14
-3.4
2025-05-14
B&W
Evelyn Matthei
20
49.5
2025-05-14
29.5
2025-05-14
B&W
José Antonio Kast
15
10
2025-05-14
-5
2025-05-14
B&W
Johannes Kaiser
17
6.4
2025-05-14
-10.6
2025-05-14
Criteria
Jeannette Jara
5
1.4
2025-05-14
-3.6
2025-05-14
Criteria
Gonzalo Winter
5
4.3
2025-05-14
-0.7
2025-05-14
Criteria
Carolina Tohá
10
26
2025-05-14
16
2025-05-14
Criteria
Franco Parisi
2
0.6
2025-05-14
-1.4
2025-05-14
Criteria
Evelyn Matthei
26
49.5
2025-05-14
23.5
2025-05-14
Criteria
José Antonio Kast
17
10
2025-05-14
-7
2025-05-14
Criteria
Johannes Kaiser
10
6.4
2025-05-14
-3.6
2025-05-16
Cadem
Jeannette Jara
5
0.6
2025-05-16
-4.4
2025-05-16
Cadem
Gonzalo Winter
6
3.9
2025-05-16
-2.1
2025-05-16
Cadem
Carolina Tohá
10
18.5
2025-05-16
8.5
2025-05-16
Cadem
Franco Parisi
3
0.5
2025-05-16
-2.5
2025-05-16
Cadem
Evelyn Matthei
17
45.5
2025-05-16
28.5
2025-05-16
Cadem
José Antonio Kast
17
21
2025-05-16
4
2025-05-16
Cadem
Johannes Kaiser
6
3.7
2025-05-16
-2.3
2025-05-20
Panel Ciudadano
Jeannette Jara
8
0.8
2025-05-20
-7.2
2025-05-20
Panel Ciudadano
Gonzalo Winter
7
3
2025-05-20
-4
2025-05-20
Panel Ciudadano
Carolina Tohá
10
16.5
2025-05-20
6.5
2025-05-20
Panel Ciudadano
Franco Parisi
5
0.4
2025-05-20
-4.6
2025-05-20
Panel Ciudadano
Evelyn Matthei
22
49.5
2025-05-20
27.5
2025-05-20
Panel Ciudadano
José Antonio Kast
17
21.5
2025-05-20
4.5
2025-05-20
Panel Ciudadano
Johannes Kaiser
9
6.3
2025-05-20
-2.7
2025-05-23
Cadem
Jeannette Jara
5
0.6
2025-05-23
-4.4
2025-05-23
Cadem
Gonzalo Winter
5
3
2025-05-23
-2
2025-05-23
Cadem
Carolina Tohá
10
15
2025-05-23
5
2025-05-23
Cadem
Franco Parisi
4
0.8
2025-05-23
-3.2
2025-05-23
Cadem
Evelyn Matthei
17
54
2025-05-23
37
2025-05-23
Cadem
José Antonio Kast
16
15
2025-05-23
-1
2025-05-23
Cadem
Johannes Kaiser
6
5.2
2025-05-23
-0.8
2025-05-26
Atlas Intel
Jeannette Jara
9.9
0.7
2025-05-26
-9.2
2025-05-26
Atlas Intel
Gonzalo Winter
11
3.1
2025-05-26
-7.9
2025-05-26
Atlas Intel
Carolina Tohá
16.7
14
2025-05-26
-2.7
2025-05-26
Atlas Intel
Franco Parisi
12.1
0.7
2025-05-26
-11.4
2025-05-26
Atlas Intel
Evelyn Matthei
16.6
52.5
2025-05-26
35.9
2025-05-26
Atlas Intel
Johannes Kaiser
11.2
9.1
2025-05-26
-2.1
2025-05-30
Activa
Jeannette Jara
7.4
0.7
2025-05-30
-6.7
2025-05-30
Activa
Gonzalo Winter
3.6
2.5
2025-05-30
-1.1
2025-05-30
Activa
Carolina Tohá
6.4
12
2025-05-30
5.6
2025-05-30
Activa
Franco Parisi
5.8
0.4
2025-05-30
-5.4
2025-05-30
Activa
Evelyn Matthei
21.5
51.5
2025-05-30
30
2025-05-30
Activa
José Antonio Kast
17.5
24
2025-05-30
6.5
2025-05-30
Activa
Johannes Kaiser
7.4
7.3
2025-05-30
-0.1
2025-05-30
Cadem
Jeannette Jara
7
0.7
2025-05-30
-6.3
2025-05-30
Cadem
Gonzalo Winter
3
2.5
2025-05-30
-0.5
2025-05-30
Cadem
Carolina Tohá
8
12
2025-05-30
4
2025-05-30
Cadem
Franco Parisi
6
0.4
2025-05-30
-5.6
2025-05-30
Cadem
Evelyn Matthei
19
51.5
2025-05-30
32.5
2025-05-30
Cadem
José Antonio Kast
16
24
2025-05-30
8
2025-05-30
Cadem
Johannes Kaiser
7
7.3
2025-05-30
0.3
2025-06-01
Data Influye
Jeannette Jara
11
0.7
2025-06-01
-10.3
2025-06-01
Data Influye
Gonzalo Winter
6
1.8
2025-06-01
-4.2
2025-06-01
Data Influye
Carolina Tohá
12
9
2025-06-01
-3
2025-06-01
Data Influye
Franco Parisi
3
0.6
2025-06-01
-2.4
2025-06-01
Data Influye
Evelyn Matthei
17
51.5
2025-06-01
34.5
2025-06-01
Data Influye
José Antonio Kast
16
21
2025-06-01
5
2025-06-01
Data Influye
Johannes Kaiser
9
6.6
2025-06-01
-2.4
2025-06-04
ICSO-UDP
Jeannette Jara
7.3
2.1
2025-06-04
-5.2
2025-06-04
ICSO-UDP
Gonzalo Winter
5.5
0.5
2025-06-04
-5
2025-06-04
ICSO-UDP
Jaime Mulet
0.5
0.5
2025-06-04
0
2025-06-04
ICSO-UDP
Carolina Tohá
7.8
14
2025-06-04
6.2
2025-06-04
ICSO-UDP
Franco Parisi
5.7
0.5
2025-06-04
-5.2
2025-06-04
ICSO-UDP
Evelyn Matthei
22.8
51.5
2025-06-04
28.7
2025-06-04
ICSO-UDP
José Antonio Kast
22.6
23
2025-06-04
0.4
2025-06-04
ICSO-UDP
Johannes Kaiser
8.1
6.2
2025-06-04
-1.9
2025-06-04
Criteria[citation needed]
Jeannette Jara
7
2.1
2025-06-04
-4.9
2025-06-04
Criteria[citation needed]
Gonzalo Winter
5
0.5
2025-06-04
-4.5
2025-06-04
Criteria[citation needed]
Carolina Tohá
8
14
2025-06-04
6
2025-06-04
Criteria[citation needed]
Franco Parisi
4
0.5
2025-06-04
-3.5
2025-06-04
Criteria[citation needed]
Evelyn Matthei
24
51.5
2025-06-04
27.5
2025-06-04
Criteria[citation needed]
José Antonio Kast
20
23
2025-06-04
3
2025-06-04
Criteria[citation needed]
Johannes Kaiser
8
6.2
2025-06-04
-1.8
2025-06-06
Cadem
Jeannette Jara
8
3.3
2025-06-06
-4.7
2025-06-06
Cadem
Gonzalo Winter
5
0.6
2025-06-06
-4.4
2025-06-06
Cadem
Carolina Tohá
7
14.5
2025-06-06
7.5
2025-06-06
Cadem
Franco Parisi
5
0.8
2025-06-06
-4.2
2025-06-06
Cadem
Evelyn Matthei
16
50.5
2025-06-06
34.5
2025-06-06
Cadem
José Antonio Kast
17
24
2025-06-06
7
2025-06-06
Cadem
Johannes Kaiser
7
5.2
2025-06-06
-1.8
End of preview.

AFOS · Chile 2025 Electoral Divergence

AFOS · Chile 2025 Electoral Divergence Dataset

🌐 English · Español · Português

Open dataset cross-referencing opinion polls × prediction markets for Chile's 2025 presidential election (first round 16 November 2025; runoff 14 December 2025, Jeannette Jara vs José Antonio Kast), built in the same spirit as the AFOS Brazil 2026 dataset: sources are reported side by side with explicit divergence, not blended into a single average.

Maintained by AFOS Analytics. Part of AFOS's expansion of its electoral-divergence method beyond Brazil. No personal data — only public electoral information.


English

Polymarket implied probability of winning over the campaign

Market probability of winning versus poll vote share on the eve of the vote

Contents (start with the polls):

Path Rows Content
polls/chile-first-round-polls.csv 600 First-round voting intention, long format (one row per candidate × poll), all candidates, 100 polls, Jan→Nov 2025.
polls/chile-runoff-polls.csv 21 Runoff head-to-head (Jara vs Kast), Nov→Dec 2025.
polls/chile-polls.json Full structured polls (first round + runoff) with pollster, fieldwork, sample.
data/chile-market-odds-timeseries.csv 2,228 Daily Polymarket win-probability per candidate (11 candidates, May→Nov 2025) from the "Chile Presidential Election" market.
data/chile-divergence-timeseries.csv 532 Market × poll divergence per candidate — each first-round poll joined to the candidate's market odds on its date.
data/chile-poly-raw.json Raw Polymarket payload (event + per-candidate price histories), kept for provenance.

Market data fetched from Polymarket's gamma-api + clob via a US-resolving function. Divergence covers the first round; the winner market resolves to the overall election, so its probabilities already price the runoff.

⚖️ Notable divergences (why divergence beats the average)

The point of this dataset is the gap between what the market prices (probability of winning the presidency) and what polls measure (first-round vote share) — read across the full daily series.

  • José Antonio Kast — the market saw the runoff before the polls did. In late first-round polling Kast sat around 17–21% of the vote, at times behind Jara — yet the market priced his probability of winning the presidency at ~66% (a market−poll gap of +45 pp). The market was pricing the second round, where the fragmented right would consolidate behind him. He won the runoff, 58%–42%. The divergence was signal, not noise — confirmed by the result.
  • Jeannette Jara — led the first round, but the market never believed she'd win. She topped almost every first-round poll (26%, and won the first round with 26.8%) while the market gave her only **16%** to win the presidency. The gap (−9 pp) captured exactly what vote share couldn't: a first-round leader with a low runoff ceiling.
  • Franco Parisi — the late surge polls undersold. Polls had him around 10–14%; he finished third with ~20%, while the market priced his win probability near 1% (never a contender to win, even as his vote share climbed).

The reading: first-round vote share and win-probability are different quantities, and in a two-round system the spread between them is the signal. A blended average of "the polls" would have called Jara the favorite; the market called the eventual president.

Pollsters covered: Cadem, Criteria, Activa (Pulso Ciudadano), Data Influye, CERC-Mori, Panel Ciudadano UDD, Black & White, Feedback, and others.

Provenance & method: poll figures are compiled deterministically (rowspan/colspan-aware HTML parser) from the public Wikipedia aggregation "Opinion polling for the 2025 Chilean presidential election." Polls before the June 2025 left-wing primary measured pre-candidates (Carolina Tohá, Gonzalo Winter) separately from Jara, who then unified the left vote. Market odds come from the public Polymarket market. Nothing is imputed or smoothed; missing values are left blank.

License (dual): data → CC BY 4.0 (LICENSE-CC-BY-4.0); code/scripts → Apache 2.0 (LICENSE-APACHE-2.0), matching the repo root and the Hugging Face mirror. Underlying poll numbers are facts released by the named pollsters; the Wikipedia aggregation is CC BY-SA. Please attribute AFOS Analytics and the original pollsters.

Cite: AFOS Analytics. Chile 2025 Electoral Divergence Dataset. Hugging Face, 2026. CC BY 4.0. (see CITATION.cff)

Disclaimer: observational research. Not investment advice, not voting guidance.


Español

Dataset abierto que cruza encuestas × mercados de predicción para la elección presidencial de Chile 2025 (primera vuelta 16 nov 2025; segunda vuelta 14 dic 2025, Jeannette Jara vs José Antonio Kast), con divergencia explícita entre fuentes en lugar de un promedio único.

  • polls/chile-first-round-polls.csv — intención de voto en primera vuelta, formato largo, todos los candidatos, 100 encuestas (ene→nov 2025).
  • polls/chile-runoff-polls.csv — segunda vuelta cara a cara (Jara vs Kast), 21 encuestas.
  • data/chile-market-odds-timeseries.csv / data/chile-divergence-timeseries.csv — probabilidad de Polymarket por candidato y divergencia mercado × encuesta.

⚖️ Divergencias destacadas (por qué la divergencia supera al promedio)

  • José Antonio Kast — el mercado vio el balotaje antes que las encuestas. En la primera vuelta rondaba el 17–21% del voto, a veces detrás de Jara — pero el mercado valoraba su probabilidad de ganar la presidencia en ~66% (brecha de +45 pp). Estaba precificando la segunda vuelta, donde la derecha fragmentada se uniría tras él. Ganó el balotaje, 58%–42%. La divergencia fue señal, no ruido.
  • Jeannette Jara — lideró la primera vuelta, pero el mercado nunca creyó que ganaría. Encabezó casi todas las encuestas de primera vuelta (26%, y la ganó con 26,8%) mientras el mercado le daba solo **16%** de ganar la presidencia (brecha −9 pp): una líder de primera vuelta con techo bajo en balotaje.
  • Franco Parisi — la sorpresa tardía que las encuestas subestimaron. Las encuestas lo daban ~10–14%; terminó tercero con ~20%, con el mercado valorando su probabilidad de ganar cerca del 1%.

La lectura: voto de primera vuelta y probabilidad de ganar son cantidades distintas; en un sistema de dos vueltas, la brecha es la señal. Un promedio de "las encuestas" habría coronado a Jara; el mercado nombró al presidente electo.

Encuestadoras: Cadem, Criteria, Activa, Data Influye, CERC-Mori, Panel Ciudadano UDD, Black & White, Feedback, entre otras. Fuente: agregación pública de Wikipedia; cada cifra remite a una encuestadora con nombre. Licencia: CC BY 4.0 (atribuir a AFOS Analytics y a las encuestadoras). Investigación observacional; no es asesoría de inversión ni orientación de voto.


Português

Dataset aberto cruzando pesquisas × mercados de previsão para a eleição presidencial do Chile 2025 (1º turno 16/nov; 2º turno 14/dez, Jeannette Jara × José Antonio Kast), com divergência explícita entre fontes. Pesquisas (todos os candidatos, 100 do 1º turno + 21 do 2º) compiladas deterministicamente da agregação pública da Wikipedia; odds do Polymarket. Licença CC BY 4.0 (atribuir AFOS Analytics + institutos originais). Pesquisa observacional; não é recomendação de investimento nem orientação de voto.

⚖️ Divergências em destaque (por que a divergência supera a média)

O ponto é a diferença entre o que o mercado precifica (probabilidade de vencer a presidência) e o que as pesquisas medem (voto de 1º turno) — lida na série diária inteira.

  • José Antonio Kast — o mercado viu o 2º turno antes das pesquisas. No fim do 1º turno tinha 17–21% do voto, às vezes atrás de Jara — mas o mercado precificava a chance dele vencer a presidência em **66%** (diferença de +45pp), já precificando o 2º turno, onde a direita fragmentada se uniria a ele. Ele venceu o runoff, 58%–42%. A divergência foi sinal, não ruído — confirmada pelo resultado.
  • Jeannette Jara — liderou o 1º turno, mas o mercado nunca acreditou que venceria. Liderou quase toda pesquisa de 1º turno (26%, e venceu o 1º turno com 26,8%) enquanto o mercado lhe dava só **16%** de vencer a presidência (diferença −9pp): líder de 1º turno com teto baixo no 2º turno.
  • Franco Parisi — a surpresa tardia que as pesquisas subestimaram. Pesquisas davam ~10–14%; terminou em 3º com ~20%, com o mercado precificando a chance de vencer perto de 1%.

A leitura: voto de 1º turno e probabilidade de vencer são quantidades diferentes; num sistema de dois turnos, a diferença é o sinal. Uma média das "pesquisas" teria coroado Jara; o mercado nomeou o presidente eleito.


Sources / Fuentes / Fontes: Pollsters (Cadem, Criteria, Activa, Data Influye, CERC-Mori, …) · Wikipedia aggregation · Polymarket. Column definitions in DATA_DICTIONARY.md.

Downloads last month
93