peru-2026-electoral-divergence / datapackage.json
AFOS-Analytics1's picture
Polish item 1 (option A): add page-level source_url per poll row (verified Wikipedia opinion-polling page); README note; datapackage/croissant/CHECKSUMS/DATASHEET regenerated (Frictionless).
843dfa1 verified
Raw
History Blame Contribute Delete
8.12 kB
{
"name": "peru-2026-electoral-divergence",
"title": "Peru 2026 Electoral Divergence Electoral Divergence Dataset",
"description": "In the first round (April 12, with 35 candidates), the market had for months made Rafael López Aliaga the runaway favorite to win (peaking at 40%-55% probability), yet he collapsed down the stretch and finished third, out of the runoff: the biggest gap of the cycle between what m",
"version": "1.1.0",
"created": "2026-07-17T00:00:00Z",
"homepage": "https://huggingface.co/datasets/AFOS-Analytics1/peru-2026-electoral-divergence",
"keywords": [
"elections",
"prediction-markets",
"opinion-polls",
"electoral-divergence",
"open-data"
],
"licenses": [
{
"name": "CC-BY-4.0",
"title": "Creative Commons Attribution 4.0",
"path": "https://creativecommons.org/licenses/by/4.0/"
}
],
"contributors": [
{
"title": "AFOS Analytics",
"role": "author",
"path": "https://afos-analytics.com"
}
],
"sources": [
{
"title": "Opinion polls via Wikipedia aggregation (CC BY-SA), original pollsters credited"
},
{
"title": "Polymarket (on-chain prediction market)"
},
{
"title": "World Bank (WGI, WDI) for structural context"
}
],
"resources": [
{
"name": "data-peru-divergence-timeseries",
"type": "table",
"path": "data/peru-divergence-timeseries.csv",
"scheme": "file",
"format": "csv",
"mediatype": "text/csv",
"encoding": "utf-8",
"schema": {
"fields": [
{
"name": "poll_date",
"type": "date"
},
{
"name": "pollster",
"type": "string"
},
{
"name": "candidate",
"type": "string"
},
{
"name": "poll_pct",
"type": "number"
},
{
"name": "polymarket_pct",
"type": "number"
},
{
"name": "polymarket_date",
"type": "date"
},
{
"name": "divergence_pp",
"type": "number"
}
],
"missingValues": [
"",
"NA",
"N/A",
"-"
]
},
"hash": "sha256:8a6a12369326c5a41c1ce8ce4a87354864f74a923522b43f3c56b5c4ed0d3b5e"
},
{
"name": "data-peru-market-odds-timeseries",
"type": "table",
"path": "data/peru-market-odds-timeseries.csv",
"scheme": "file",
"format": "csv",
"mediatype": "text/csv",
"encoding": "utf-8",
"schema": {
"fields": [
{
"name": "date",
"type": "date"
},
{
"name": "candidate",
"type": "string"
},
{
"name": "polymarket_pct",
"type": "number"
},
{
"name": "volume_usd",
"type": "integer"
}
],
"missingValues": [
"",
"NA",
"N/A",
"-"
]
},
"hash": "sha256:4401b4987dfa61425211cf20204787de4b224a00436de619dd053a0876dd58b5"
},
{
"name": "data-peru-structural-context",
"type": "table",
"path": "data/peru-structural-context.csv",
"scheme": "file",
"format": "csv",
"mediatype": "text/csv",
"encoding": "utf-8",
"schema": {
"fields": [
{
"name": "category",
"type": "string"
},
{
"name": "indicator",
"type": "string"
},
{
"name": "label",
"type": "string"
},
{
"name": "value",
"type": "number"
},
{
"name": "unit",
"type": "string"
},
{
"name": "year",
"type": "integer"
},
{
"name": "source",
"type": "string"
},
{
"name": "iso3",
"type": "string"
}
],
"missingValues": [
"",
"NA",
"N/A",
"-"
]
},
"hash": "sha256:7fa9f30ee54f6547341f711e6647cbc78f70925cf0e5beaffaeb4bd562c9e21c"
},
{
"name": "news-peru-2026-press-coverage",
"type": "table",
"path": "news/peru-2026-press-coverage.csv",
"scheme": "file",
"format": "csv",
"mediatype": "text/csv",
"encoding": "utf-8",
"schema": {
"fields": [
{
"name": "date",
"type": "date"
},
{
"name": "phase",
"type": "string"
},
{
"name": "outlet",
"type": "string"
},
{
"name": "headline",
"type": "string"
},
{
"name": "url",
"type": "string"
},
{
"name": "lang",
"type": "string"
},
{
"name": "topic",
"type": "string"
}
],
"missingValues": [
"",
"NA",
"N/A",
"-"
]
},
"hash": "sha256:2d01c82434630b33b91cbe5e90ec4e2a4b156ea24420b50e227d6b867556bafc"
},
{
"name": "polls-peru-first-round-polls",
"type": "table",
"path": "polls/peru-first-round-polls.csv",
"scheme": "file",
"format": "csv",
"mediatype": "text/csv",
"encoding": "utf-8",
"schema": {
"fields": [
{
"name": "poll_date",
"type": "date"
},
{
"name": "fieldwork",
"type": "string"
},
{
"name": "pollster",
"type": "string"
},
{
"name": "sample",
"type": "integer"
},
{
"name": "candidate",
"type": "string"
},
{
"name": "party",
"type": "string"
},
{
"name": "percent",
"type": "number"
},
{
"name": "source_url",
"type": "string"
}
],
"missingValues": [
"",
"NA",
"N/A",
"-"
]
},
"hash": "sha256:614da1c9c6e975f5b7fab571b2e3dba5868b42098ad47a9f677239b1577a28fb"
},
{
"name": "polls-peru-runoff-polls",
"type": "table",
"path": "polls/peru-runoff-polls.csv",
"scheme": "file",
"format": "csv",
"mediatype": "text/csv",
"encoding": "utf-8",
"schema": {
"fields": [
{
"name": "poll_date",
"type": "date"
},
{
"name": "fieldwork",
"type": "string"
},
{
"name": "pollster",
"type": "string"
},
{
"name": "sample",
"type": "integer"
},
{
"name": "fujimori_pct",
"type": "number"
},
{
"name": "sanchez_pct",
"type": "number"
},
{
"name": "lead_pp",
"type": "number"
},
{
"name": "source_url",
"type": "string"
}
],
"missingValues": [
"",
"NA",
"N/A",
"-"
]
},
"hash": "sha256:4be1050ce1747b1e10492e3b12439cba4aa661a28ea05ba6b587ca296ac16e70"
}
]
}