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 ({'date', 'volume_usd'}) and 5 missing columns ({'divergence_pp', 'poll_date', 'pollster', 'poll_pct', 'polymarket_date'}).

This happened while the csv dataset builder was generating data using

hf://datasets/AFOS-Analytics1/colombia-2026-electoral-divergence/data/colombia-market-odds-timeseries.csv (at revision 05d3f296605258452b6309db09b71dc86ee935cb), ['hf://datasets/AFOS-Analytics1/colombia-2026-electoral-divergence@05d3f296605258452b6309db09b71dc86ee935cb/data/colombia-divergence-timeseries.csv', 'hf://datasets/AFOS-Analytics1/colombia-2026-electoral-divergence@05d3f296605258452b6309db09b71dc86ee935cb/data/colombia-market-odds-timeseries.csv', 'hf://datasets/AFOS-Analytics1/colombia-2026-electoral-divergence@05d3f296605258452b6309db09b71dc86ee935cb/polls/colombia-first-round-polls.csv', 'hf://datasets/AFOS-Analytics1/colombia-2026-electoral-divergence@05d3f296605258452b6309db09b71dc86ee935cb/polls/colombia-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 ({'date', 'volume_usd'}) and 5 missing columns ({'divergence_pp', 'poll_date', 'pollster', 'poll_pct', 'polymarket_date'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/AFOS-Analytics1/colombia-2026-electoral-divergence/data/colombia-market-odds-timeseries.csv (at revision 05d3f296605258452b6309db09b71dc86ee935cb), ['hf://datasets/AFOS-Analytics1/colombia-2026-electoral-divergence@05d3f296605258452b6309db09b71dc86ee935cb/data/colombia-divergence-timeseries.csv', 'hf://datasets/AFOS-Analytics1/colombia-2026-electoral-divergence@05d3f296605258452b6309db09b71dc86ee935cb/data/colombia-market-odds-timeseries.csv', 'hf://datasets/AFOS-Analytics1/colombia-2026-electoral-divergence@05d3f296605258452b6309db09b71dc86ee935cb/polls/colombia-first-round-polls.csv', 'hf://datasets/AFOS-Analytics1/colombia-2026-electoral-divergence@05d3f296605258452b6309db09b71dc86ee935cb/polls/colombia-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-10-16
CNC
Iván Cepeda
8
16.5
2025-10-16
8.5
2025-10-16
CNC
Daniel Quintero
2.5
3.1
2025-10-16
0.6
2025-10-16
CNC
Abelardo de la Espriella
13.7
34.5
2025-10-16
20.8
2025-10-16
CNC
Sergio Fajardo
8.9
12.5
2025-10-16
3.6
2025-10-16
CNC
Vicky Dávila
6.4
13.5
2025-10-16
7.1
2025-10-16
CNC
Juan Manuel Galán
2.6
0.4
2025-10-16
-2.2
2025-11-14
CNC
Iván Cepeda
20.9
26.5
2025-11-14
5.6
2025-11-14
CNC
Daniel Quintero
1.8
0.7
2025-11-14
-1.1
2025-11-14
CNC
Abelardo de la Espriella
14.4
35.5
2025-11-14
21.1
2025-11-14
CNC
Sergio Fajardo
7.8
16.5
2025-11-14
8.7
2025-11-14
CNC
Vicky Dávila
3.2
4
2025-11-14
0.8
2025-11-14
CNC
Juan Manuel Galán
3.3
0.9
2025-11-14
-2.4
2025-11-14
CNC
Juan Carlos Pinzón
0.6
2.9
2025-11-14
2.3
2025-11-15
Yamil Cure S.A.S
Iván Cepeda
19.6
21.5
2025-11-15
1.9
2025-11-15
Yamil Cure S.A.S
Daniel Quintero
5.2
0.6
2025-11-15
-4.6
2025-11-15
Yamil Cure S.A.S
Abelardo de la Espriella
15.6
35.5
2025-11-15
19.9
2025-11-15
Yamil Cure S.A.S
Sergio Fajardo
10.6
15.5
2025-11-15
4.9
2025-11-15
Yamil Cure S.A.S
Vicky Dávila
4.2
2.5
2025-11-15
-1.7
2025-11-15
Yamil Cure S.A.S
Juan Manuel Galán
5.2
7
2025-11-15
1.8
2025-11-15
Yamil Cure S.A.S
Juan Carlos Pinzón
2.2
3.1
2025-11-15
0.9
2025-11-27
Invamer
Iván Cepeda
31.9
16.5
2025-11-27
-15.4
2025-11-27
Invamer
Abelardo de la Espriella
18.2
41.5
2025-11-27
23.3
2025-11-27
Invamer
Sergio Fajardo
8.5
12
2025-11-27
3.5
2025-11-27
Invamer
Vicky Dávila
3.7
5.1
2025-11-27
1.4
2025-11-27
Invamer
Juan Manuel Galán
1.6
1.1
2025-11-27
-0.5
2025-11-27
Invamer
Juan Carlos Pinzón
2.9
3.4
2025-11-27
0.5
2025-12-17
W.A.A
Iván Cepeda
30.7
32.5
2025-12-17
1.8
2025-12-17
W.A.A
Abelardo de la Espriella
16.2
39
2025-12-17
22.8
2025-12-17
W.A.A
Sergio Fajardo
6.7
12.5
2025-12-17
5.8
2025-12-17
W.A.A
Vicky Dávila
3.6
0.7
2025-12-17
-2.9
2025-12-17
W.A.A
Juan Manuel Galán
1.6
1.7
2025-12-17
0.1
2025-12-17
W.A.A
Juan Carlos Pinzón
0.7
0.4
2025-12-17
-0.3
2026-01-08
AtlasIntel/SEMANA
Iván Cepeda
26.5
35.5
2026-01-08
9
2026-01-08
AtlasIntel/SEMANA
Abelardo de la Espriella
28
34.5
2026-01-08
6.5
2026-01-08
AtlasIntel/SEMANA
Paloma Valencia
5.1
9.8
2026-01-08
4.7
2026-01-08
AtlasIntel/SEMANA
Sergio Fajardo
9.4
11.5
2026-01-08
2.1
2026-01-08
AtlasIntel/SEMANA
Roy Barreras
0.2
4.6
2026-01-08
4.4
2026-01-15
Noticias RCN/Gad3
Iván Cepeda
30
37.5
2026-01-15
7.5
2026-01-15
Noticias RCN/Gad3
Abelardo de la Espriella
22
39.5
2026-01-15
17.5
2026-01-15
Noticias RCN/Gad3
Paloma Valencia
3
13.4
2026-01-15
10.4
2026-01-15
Noticias RCN/Gad3
Sergio Fajardo
1
5
2026-01-15
4
2026-01-15
Noticias RCN/Gad3
Roy Barreras
1
0.5
2026-01-15
-0.5
2026-01-21
CNC/Cambio
Iván Cepeda
28.2
39.5
2026-01-21
11.3
2026-01-21
CNC/Cambio
Abelardo de la Espriella
15.5
35.5
2026-01-21
20
2026-01-21
CNC/Cambio
Sergio Fajardo
9.8
4.2
2026-01-21
-5.6
2026-01-21
CNC/Cambio
Roy Barreras
0.3
1
2026-01-21
0.7
2026-01-22
Guarumo/EcoAnalítica
Iván Cepeda
33.6
38
2026-01-22
4.4
2026-01-22
Guarumo/EcoAnalítica
Abelardo de la Espriella
18.2
35
2026-01-22
16.8
2026-01-22
Guarumo/EcoAnalítica
Paloma Valencia
6.9
6.7
2026-01-22
-0.2
2026-01-22
Guarumo/EcoAnalítica
Sergio Fajardo
3.9
3.5
2026-01-22
-0.4
2026-01-22
Guarumo/EcoAnalítica
Roy Barreras
0
0.4
2026-01-22
0.4
2026-02-04
AtlasIntel/SEMANA
Iván Cepeda
31.4
39.5
2026-02-04
8.1
2026-02-04
AtlasIntel/SEMANA
Abelardo de la Espriella
32.1
36.5
2026-02-04
4.4
2026-02-04
AtlasIntel/SEMANA
Paloma Valencia
3.8
8
2026-02-04
4.2
2026-02-04
AtlasIntel/SEMANA
Sergio Fajardo
7.6
3.4
2026-02-04
-4.2
2026-02-04
AtlasIntel/SEMANA
Roy Barreras
0.3
2.2
2026-02-04
1.9
2026-02-20
CELAG
Iván Cepeda
38.2
40
2026-02-20
1.8
2026-02-20
CELAG
Abelardo de la Espriella
25.2
39
2026-02-20
13.8
2026-02-20
CELAG
Paloma Valencia
4.6
7.5
2026-02-20
2.9
2026-02-20
CELAG
Sergio Fajardo
4.4
2.7
2026-02-20
-1.7
2026-02-20
CELAG
Roy Barreras
1
5.5
2026-02-20
4.5
2026-02-22
Invamer
Iván Cepeda
37.1
37.5
2026-02-22
0.4
2026-02-22
Invamer
Abelardo de la Espriella
18.9
38.5
2026-02-22
19.6
2026-02-22
Invamer
Paloma Valencia
10
7.9
2026-02-22
-2.1
2026-02-22
Invamer
Sergio Fajardo
6.6
1.4
2026-02-22
-5.2
2026-02-22
Invamer
Roy Barreras
1.8
3.5
2026-02-22
1.7
2026-03-12
AtlasIntel/SEMANA
Iván Cepeda
36.4
45.5
2026-03-12
9.1
2026-03-12
AtlasIntel/SEMANA
Abelardo de la Espriella
27.9
15.5
2026-03-12
-12.4
2026-03-12
AtlasIntel/SEMANA
Paloma Valencia
17.5
31.4
2026-03-12
13.9
2026-03-12
AtlasIntel/SEMANA
Sergio Fajardo
7.8
1.4
2026-03-12
-6.4
2026-03-12
AtlasIntel/SEMANA
Roy Barreras
0.9
0.7
2026-03-12
-0.2
2026-03-18
Noticias RCN /Gad3
Iván Cepeda
35
41.5
2026-03-18
6.5
2026-03-18
Noticias RCN /Gad3
Abelardo de la Espriella
21
12.5
2026-03-18
-8.5
2026-03-18
Noticias RCN /Gad3
Paloma Valencia
16
43.8
2026-03-18
27.8
2026-03-18
Noticias RCN /Gad3
Sergio Fajardo
3
0.8
2026-03-18
-2.2
2026-03-18
Noticias RCN /Gad3
Roy Barreras
0.1
0.4
2026-03-18
0.3
2026-03-20
CELAG
Iván Cepeda
40.9
41
2026-03-20
0.1
2026-03-20
CELAG
Abelardo de la Espriella
15.4
16.5
2026-03-20
1.1
2026-03-20
CELAG
Paloma Valencia
21.1
38.9
2026-03-20
17.8
2026-03-20
CELAG
Sergio Fajardo
3.6
0.8
2026-03-20
-2.8
2026-03-20
CELAG
Roy Barreras
0.3
0.4
2026-03-20
0.1
2026-03-21
CNC
Iván Cepeda
34.5
42
2026-03-21
7.5
2026-03-21
CNC
Abelardo de la Espriella
15.4
17.5
2026-03-21
2.1
2026-03-21
CNC
Paloma Valencia
22.2
38.8
2026-03-21
16.6
2026-03-21
CNC
Sergio Fajardo
3.6
0.7
2026-03-21
-2.9
2026-03-21
CNC
Roy Barreras
0.5
0.4
2026-03-21
-0.1
2026-03-25
Guarumo/EcoAnalítica
Iván Cepeda
37.5
41.5
2026-03-25
4
2026-03-25
Guarumo/EcoAnalítica
Abelardo de la Espriella
20.2
14.5
2026-03-25
-5.7
2026-03-25
Guarumo/EcoAnalítica
Paloma Valencia
19.9
41.8
2026-03-25
21.9
2026-03-25
Guarumo/EcoAnalítica
Sergio Fajardo
3.9
0.7
2026-03-25
-3.2
2026-03-25
Guarumo/EcoAnalítica
Roy Barreras
0.6
0.3
2026-03-25
-0.3
2026-04-09
Atlas Intel/SEMANA
Iván Cepeda
40.82
39.5
2026-04-09
-1.32
2026-04-09
Atlas Intel/SEMANA
Abelardo de la Espriella
29.43
12.5
2026-04-09
-16.93
2026-04-09
Atlas Intel/SEMANA
Paloma Valencia
24.79
45.1
2026-04-09
20.31
2026-04-09
Atlas Intel/SEMANA
Sergio Fajardo
5.38
0.4
2026-04-09
-4.98
2026-04-09
Atlas Intel/SEMANA
Roy Barreras
0.32
0.2
2026-04-09
-0.12
2026-04-22
GAD3
Iván Cepeda
36
34.5
2026-04-22
-1.5
2026-04-22
GAD3
Abelardo de la Espriella
21
22
2026-04-22
1
2026-04-22
GAD3
Paloma Valencia
13
41.3
2026-04-22
28.3
2026-04-22
GAD3
Sergio Fajardo
2.5
0.4
2026-04-22
-2.1
End of preview.

AFOS · Colombia 2026 Electoral Divergence

AFOS · Colombia 2026 Electoral Divergence Dataset

🌐 English · Español · Português

Open dataset cross-referencing opinion polls × prediction markets for Colombia's 2026 presidential election (first round 31 May 2026; runoff 21 June 2026, Abelardo de la Espriella vs Iván Cepeda), built like the AFOS Brazil & Peru datasets: 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 across Latin America. No personal data — only public electoral information.

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. Please attribute AFOS Analytics and the original pollsters.


English

Polymarket implied probability of winning over the campaign

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

Path Rows Content
polls/colombia-first-round-polls.csv 170 First-round voting intention, long format (one row per candidate × poll), 10 candidates, 29 polls, 2025→May 2026.
polls/colombia-polls.json Full structured polls with methodology.
data/colombia-market-odds-timeseries.csv 4,620 Daily Polymarket win-probability per candidate (19 candidates, Jul 2025→Jun 2026) from the "Colombia Presidential Election" market.
data/colombia-divergence-timeseries.csv 121 Market × poll divergence per candidate — each first-round poll joined to the candidate's market odds on its date.
data/colombia-poly-raw.json Raw Polymarket payload (provenance).

Runoff note: the runoff (de la Espriella vs Cepeda, 21 Jun) is in the market series, but Wikipedia's runoff polling is published as hypothetical-matchup matrices that don't parse cleanly, so the poll side here is first round only.

⚖️ Notable divergences (why divergence beats the average)

The point of this dataset is the gap between what the market prices (probability of winning) and what polls measure (first-round vote share). Averaging the two would erase exactly the signal below. From the latest pre-election poll (Invamer, 20 May 2026):

  • Abelardo de la Espriella — poll 31.6% × market 43.5% (+11.9pp). The market priced his win probability ~12 points above his first-round vote-share polling — and he won the first round with 43.7%. The market's signal matched the result; vote-share polls understated him.
  • Iván Cepeda — poll 44.6% × market 43.5% (−1.1pp). Near-zero divergence: market and polls agreed he led on vote share, but priced him roughly even with Espriella to win — foreshadowing a tight runoff.
  • Paloma Valencia — poll 14% × market 14.5% (+0.5pp): market and polls in lockstep.
  • Earlier in the cycle the market ran below some candidates' vote share (e.g. Daniel Quintero, Nov 2025, poll 5.2% × market 0.6%, −4.6pp) — it never believed they could win.

The reading: a single blended "market + polls" average would have shown Cepeda comfortably ahead and hidden that the market gave the eventual first-round winner (Espriella) a far higher chance than his vote-share suggested. The divergence was the signal.


Español

Dataset abierto que cruza encuestas × mercados de predicción para la elección presidencial de Colombia 2026 (primera vuelta 31 may; segunda vuelta 21 jun, de la Espriella vs Cepeda), con divergencia explícita en lugar de un promedio único.

  • polls/colombia-first-round-polls.csv — intención de voto en primera vuelta, formato largo, 10 candidatos, 29 encuestas (2025→may 2026).
  • data/colombia-market-odds-timeseries.csv / colombia-divergence-timeseries.csv — probabilidad de Polymarket por candidato y divergencia mercado × encuesta.

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

Lo importante es la brecha entre lo que valora el mercado (probabilidad de ganar) y lo que miden las encuestas (voto de primera vuelta). De la última encuesta preelectoral (Invamer, 20 may 2026):

  • Abelardo de la Espriella — encuesta 31,6% × mercado 43,5% (+11,9pp). El mercado valoró su probabilidad de ganar ~12 puntos por encima de su voto — y ganó la primera vuelta con 43,7%. La señal del mercado coincidió con el resultado; las encuestas lo subestimaron.
  • Iván Cepeda — encuesta 44,6% × mercado 43,5% (−1,1pp). Divergencia casi nula: mercado y encuestas coincidían en que lideraba en voto, pero lo valoraban casi a la par con Espriella para ganar — anticipando un balotaje reñido.
  • Paloma Valencia — encuesta 14% × mercado 14,5% (+0,5pp): mercado y encuestas al unísono.
  • Daniel Quintero — (nov 2025) encuesta 5,2% × mercado 0,6% (−4,6pp): el mercado nunca creyó que pudiera ganar.

La lectura: un promedio "mercado + encuestas" habría mostrado a Cepeda cómodamente al frente y ocultado que el mercado le dio al ganador efectivo de primera vuelta (Espriella) una probabilidad mucho mayor que su voto. La divergencia era la señal.

Encuestadoras: Invamer, AtlasIntel, CNC, Guarumo, GAD3, CELAG. Fuente: Wikipedia + AS/COA. 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 da Colômbia 2026 (1º turno 31/mai; 2º turno 21/jun, de la Espriella × Cepeda), com divergência explícita entre fontes. Pesquisas (10 candidatos, 29 do 1º turno) compiladas da Wikipedia + AS/COA; odds do Polymarket. Licença CC BY 4.0 (atribuir AFOS Analytics + institutos). 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) e o que as pesquisas medem (voto de 1º turno). Da última pesquisa pré-eleição (Invamer, 20/mai/2026):

  • Abelardo de la Espriella — pesquisa 31,6% × mercado 43,5% (+11,9pp). O mercado precificou a chance de vencer dele ~12 pontos acima do voto — e ele venceu o 1º turno com 43,7%. O sinal do mercado bateu com o resultado; a pesquisa o subestimou.
  • Iván Cepeda — pesquisa 44,6% × mercado 43,5% (−1,1pp). Divergência quase nula: mercado e pesquisa concordavam que ele liderava em voto, mas o precificavam quase empatado com Espriella para vencer — antecipando um 2º turno apertado.
  • Paloma Valencia — pesquisa 14% × mercado 14,5% (+0,5pp): mercado e pesquisa em uníssono.
  • Daniel Quintero — (nov 2025) pesquisa 5,2% × mercado 0,6% (−4,6pp): o mercado nunca acreditou que ele pudesse vencer.

A leitura: uma média "mercado + pesquisas" mostraria Cepeda confortavelmente à frente e esconderia que o mercado deu ao vencedor efetivo do 1º turno (Espriella) uma chance bem maior que o voto dele. A divergência era o sinal.


Sources / Fuentes: Pollsters (Invamer, AtlasIntel, CNC, Guarumo, GAD3, CELAG, …) · Wikipedia — 2026 Colombian presidential election · AS/COA poll tracker · Polymarket. Column definitions in DATA_DICTIONARY.md.

Downloads last month
75