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
20.9 kB
{
"@context": {
"@vocab": "https://schema.org/",
"cr": "http://mlcommons.org/croissant/",
"sc": "https://schema.org/",
"dataType": {
"@id": "cr:dataType",
"@type": "@vocab"
},
"field": "cr:field",
"fileObject": "cr:fileObject",
"recordSet": "cr:recordSet",
"source": "cr:source",
"extract": "cr:extract",
"column": "cr:column"
},
"@type": "sc:Dataset",
"cr:conformsTo": "http://mlcommons.org/croissant/1.0",
"name": "peru-2026-electoral-divergence",
"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",
"license": "https://creativecommons.org/licenses/by/4.0/",
"url": "https://huggingface.co/datasets/AFOS-Analytics1/peru-2026-electoral-divergence",
"version": "1.1.0",
"citation": "AFOS Analytics (2026). Peru 2026 Electoral Divergence Electoral Divergence Dataset. https://huggingface.co/datasets/AFOS-Analytics1/peru-2026-electoral-divergence",
"keywords": [
"elections",
"prediction-markets",
"opinion-polls",
"electoral-divergence",
"open-data"
],
"distribution": [
{
"@type": "cr:FileObject",
"@id": "data/peru-divergence-timeseries.csv",
"name": "data/peru-divergence-timeseries.csv",
"contentUrl": "data/peru-divergence-timeseries.csv",
"encodingFormat": "text/csv",
"sha256": "8a6a12369326c5a41c1ce8ce4a87354864f74a923522b43f3c56b5c4ed0d3b5e"
},
{
"@type": "cr:FileObject",
"@id": "data/peru-market-odds-timeseries.csv",
"name": "data/peru-market-odds-timeseries.csv",
"contentUrl": "data/peru-market-odds-timeseries.csv",
"encodingFormat": "text/csv",
"sha256": "4401b4987dfa61425211cf20204787de4b224a00436de619dd053a0876dd58b5"
},
{
"@type": "cr:FileObject",
"@id": "data/peru-structural-context.csv",
"name": "data/peru-structural-context.csv",
"contentUrl": "data/peru-structural-context.csv",
"encodingFormat": "text/csv",
"sha256": "7fa9f30ee54f6547341f711e6647cbc78f70925cf0e5beaffaeb4bd562c9e21c"
},
{
"@type": "cr:FileObject",
"@id": "news/peru-2026-press-coverage.csv",
"name": "news/peru-2026-press-coverage.csv",
"contentUrl": "news/peru-2026-press-coverage.csv",
"encodingFormat": "text/csv",
"sha256": "2d01c82434630b33b91cbe5e90ec4e2a4b156ea24420b50e227d6b867556bafc"
},
{
"@type": "cr:FileObject",
"@id": "polls/peru-first-round-polls.csv",
"name": "polls/peru-first-round-polls.csv",
"contentUrl": "polls/peru-first-round-polls.csv",
"encodingFormat": "text/csv",
"sha256": "614da1c9c6e975f5b7fab571b2e3dba5868b42098ad47a9f677239b1577a28fb"
},
{
"@type": "cr:FileObject",
"@id": "polls/peru-runoff-polls.csv",
"name": "polls/peru-runoff-polls.csv",
"contentUrl": "polls/peru-runoff-polls.csv",
"encodingFormat": "text/csv",
"sha256": "4be1050ce1747b1e10492e3b12439cba4aa661a28ea05ba6b587ca296ac16e70"
}
],
"recordSet": [
{
"@type": "cr:RecordSet",
"@id": "data-peru-divergence-timeseries",
"name": "data-peru-divergence-timeseries",
"field": [
{
"@type": "cr:Field",
"@id": "data-peru-divergence-timeseries/poll_date",
"name": "poll_date",
"dataType": "sc:Date",
"source": {
"fileObject": {
"@id": "data/peru-divergence-timeseries.csv"
},
"extract": {
"column": "poll_date"
}
}
},
{
"@type": "cr:Field",
"@id": "data-peru-divergence-timeseries/pollster",
"name": "pollster",
"dataType": "sc:Text",
"source": {
"fileObject": {
"@id": "data/peru-divergence-timeseries.csv"
},
"extract": {
"column": "pollster"
}
}
},
{
"@type": "cr:Field",
"@id": "data-peru-divergence-timeseries/candidate",
"name": "candidate",
"dataType": "sc:Text",
"source": {
"fileObject": {
"@id": "data/peru-divergence-timeseries.csv"
},
"extract": {
"column": "candidate"
}
}
},
{
"@type": "cr:Field",
"@id": "data-peru-divergence-timeseries/poll_pct",
"name": "poll_pct",
"dataType": "sc:Float",
"source": {
"fileObject": {
"@id": "data/peru-divergence-timeseries.csv"
},
"extract": {
"column": "poll_pct"
}
}
},
{
"@type": "cr:Field",
"@id": "data-peru-divergence-timeseries/polymarket_pct",
"name": "polymarket_pct",
"dataType": "sc:Float",
"source": {
"fileObject": {
"@id": "data/peru-divergence-timeseries.csv"
},
"extract": {
"column": "polymarket_pct"
}
}
},
{
"@type": "cr:Field",
"@id": "data-peru-divergence-timeseries/polymarket_date",
"name": "polymarket_date",
"dataType": "sc:Date",
"source": {
"fileObject": {
"@id": "data/peru-divergence-timeseries.csv"
},
"extract": {
"column": "polymarket_date"
}
}
},
{
"@type": "cr:Field",
"@id": "data-peru-divergence-timeseries/divergence_pp",
"name": "divergence_pp",
"dataType": "sc:Float",
"source": {
"fileObject": {
"@id": "data/peru-divergence-timeseries.csv"
},
"extract": {
"column": "divergence_pp"
}
}
}
]
},
{
"@type": "cr:RecordSet",
"@id": "data-peru-market-odds-timeseries",
"name": "data-peru-market-odds-timeseries",
"field": [
{
"@type": "cr:Field",
"@id": "data-peru-market-odds-timeseries/date",
"name": "date",
"dataType": "sc:Date",
"source": {
"fileObject": {
"@id": "data/peru-market-odds-timeseries.csv"
},
"extract": {
"column": "date"
}
}
},
{
"@type": "cr:Field",
"@id": "data-peru-market-odds-timeseries/candidate",
"name": "candidate",
"dataType": "sc:Text",
"source": {
"fileObject": {
"@id": "data/peru-market-odds-timeseries.csv"
},
"extract": {
"column": "candidate"
}
}
},
{
"@type": "cr:Field",
"@id": "data-peru-market-odds-timeseries/polymarket_pct",
"name": "polymarket_pct",
"dataType": "sc:Float",
"source": {
"fileObject": {
"@id": "data/peru-market-odds-timeseries.csv"
},
"extract": {
"column": "polymarket_pct"
}
}
},
{
"@type": "cr:Field",
"@id": "data-peru-market-odds-timeseries/volume_usd",
"name": "volume_usd",
"dataType": "sc:Integer",
"source": {
"fileObject": {
"@id": "data/peru-market-odds-timeseries.csv"
},
"extract": {
"column": "volume_usd"
}
}
}
]
},
{
"@type": "cr:RecordSet",
"@id": "data-peru-structural-context",
"name": "data-peru-structural-context",
"field": [
{
"@type": "cr:Field",
"@id": "data-peru-structural-context/category",
"name": "category",
"dataType": "sc:Text",
"source": {
"fileObject": {
"@id": "data/peru-structural-context.csv"
},
"extract": {
"column": "category"
}
}
},
{
"@type": "cr:Field",
"@id": "data-peru-structural-context/indicator",
"name": "indicator",
"dataType": "sc:Text",
"source": {
"fileObject": {
"@id": "data/peru-structural-context.csv"
},
"extract": {
"column": "indicator"
}
}
},
{
"@type": "cr:Field",
"@id": "data-peru-structural-context/label",
"name": "label",
"dataType": "sc:Text",
"source": {
"fileObject": {
"@id": "data/peru-structural-context.csv"
},
"extract": {
"column": "label"
}
}
},
{
"@type": "cr:Field",
"@id": "data-peru-structural-context/value",
"name": "value",
"dataType": "sc:Float",
"source": {
"fileObject": {
"@id": "data/peru-structural-context.csv"
},
"extract": {
"column": "value"
}
}
},
{
"@type": "cr:Field",
"@id": "data-peru-structural-context/unit",
"name": "unit",
"dataType": "sc:Text",
"source": {
"fileObject": {
"@id": "data/peru-structural-context.csv"
},
"extract": {
"column": "unit"
}
}
},
{
"@type": "cr:Field",
"@id": "data-peru-structural-context/year",
"name": "year",
"dataType": "sc:Integer",
"source": {
"fileObject": {
"@id": "data/peru-structural-context.csv"
},
"extract": {
"column": "year"
}
}
},
{
"@type": "cr:Field",
"@id": "data-peru-structural-context/source",
"name": "source",
"dataType": "sc:Text",
"source": {
"fileObject": {
"@id": "data/peru-structural-context.csv"
},
"extract": {
"column": "source"
}
}
},
{
"@type": "cr:Field",
"@id": "data-peru-structural-context/iso3",
"name": "iso3",
"dataType": "sc:Text",
"source": {
"fileObject": {
"@id": "data/peru-structural-context.csv"
},
"extract": {
"column": "iso3"
}
}
}
]
},
{
"@type": "cr:RecordSet",
"@id": "news-peru-2026-press-coverage",
"name": "news-peru-2026-press-coverage",
"field": [
{
"@type": "cr:Field",
"@id": "news-peru-2026-press-coverage/date",
"name": "date",
"dataType": "sc:Date",
"source": {
"fileObject": {
"@id": "news/peru-2026-press-coverage.csv"
},
"extract": {
"column": "date"
}
}
},
{
"@type": "cr:Field",
"@id": "news-peru-2026-press-coverage/phase",
"name": "phase",
"dataType": "sc:Text",
"source": {
"fileObject": {
"@id": "news/peru-2026-press-coverage.csv"
},
"extract": {
"column": "phase"
}
}
},
{
"@type": "cr:Field",
"@id": "news-peru-2026-press-coverage/outlet",
"name": "outlet",
"dataType": "sc:Text",
"source": {
"fileObject": {
"@id": "news/peru-2026-press-coverage.csv"
},
"extract": {
"column": "outlet"
}
}
},
{
"@type": "cr:Field",
"@id": "news-peru-2026-press-coverage/headline",
"name": "headline",
"dataType": "sc:Text",
"source": {
"fileObject": {
"@id": "news/peru-2026-press-coverage.csv"
},
"extract": {
"column": "headline"
}
}
},
{
"@type": "cr:Field",
"@id": "news-peru-2026-press-coverage/url",
"name": "url",
"dataType": "sc:Text",
"source": {
"fileObject": {
"@id": "news/peru-2026-press-coverage.csv"
},
"extract": {
"column": "url"
}
}
},
{
"@type": "cr:Field",
"@id": "news-peru-2026-press-coverage/lang",
"name": "lang",
"dataType": "sc:Text",
"source": {
"fileObject": {
"@id": "news/peru-2026-press-coverage.csv"
},
"extract": {
"column": "lang"
}
}
},
{
"@type": "cr:Field",
"@id": "news-peru-2026-press-coverage/topic",
"name": "topic",
"dataType": "sc:Text",
"source": {
"fileObject": {
"@id": "news/peru-2026-press-coverage.csv"
},
"extract": {
"column": "topic"
}
}
}
]
},
{
"@type": "cr:RecordSet",
"@id": "polls-peru-first-round-polls",
"name": "polls-peru-first-round-polls",
"field": [
{
"@type": "cr:Field",
"@id": "polls-peru-first-round-polls/poll_date",
"name": "poll_date",
"dataType": "sc:Date",
"source": {
"fileObject": {
"@id": "polls/peru-first-round-polls.csv"
},
"extract": {
"column": "poll_date"
}
}
},
{
"@type": "cr:Field",
"@id": "polls-peru-first-round-polls/fieldwork",
"name": "fieldwork",
"dataType": "sc:Text",
"source": {
"fileObject": {
"@id": "polls/peru-first-round-polls.csv"
},
"extract": {
"column": "fieldwork"
}
}
},
{
"@type": "cr:Field",
"@id": "polls-peru-first-round-polls/pollster",
"name": "pollster",
"dataType": "sc:Text",
"source": {
"fileObject": {
"@id": "polls/peru-first-round-polls.csv"
},
"extract": {
"column": "pollster"
}
}
},
{
"@type": "cr:Field",
"@id": "polls-peru-first-round-polls/sample",
"name": "sample",
"dataType": "sc:Integer",
"source": {
"fileObject": {
"@id": "polls/peru-first-round-polls.csv"
},
"extract": {
"column": "sample"
}
}
},
{
"@type": "cr:Field",
"@id": "polls-peru-first-round-polls/candidate",
"name": "candidate",
"dataType": "sc:Text",
"source": {
"fileObject": {
"@id": "polls/peru-first-round-polls.csv"
},
"extract": {
"column": "candidate"
}
}
},
{
"@type": "cr:Field",
"@id": "polls-peru-first-round-polls/party",
"name": "party",
"dataType": "sc:Text",
"source": {
"fileObject": {
"@id": "polls/peru-first-round-polls.csv"
},
"extract": {
"column": "party"
}
}
},
{
"@type": "cr:Field",
"@id": "polls-peru-first-round-polls/percent",
"name": "percent",
"dataType": "sc:Float",
"source": {
"fileObject": {
"@id": "polls/peru-first-round-polls.csv"
},
"extract": {
"column": "percent"
}
}
},
{
"@type": "cr:Field",
"@id": "polls-peru-first-round-polls/source_url",
"name": "source_url",
"dataType": "sc:Text",
"source": {
"fileObject": {
"@id": "polls/peru-first-round-polls.csv"
},
"extract": {
"column": "source_url"
}
}
}
]
},
{
"@type": "cr:RecordSet",
"@id": "polls-peru-runoff-polls",
"name": "polls-peru-runoff-polls",
"field": [
{
"@type": "cr:Field",
"@id": "polls-peru-runoff-polls/poll_date",
"name": "poll_date",
"dataType": "sc:Date",
"source": {
"fileObject": {
"@id": "polls/peru-runoff-polls.csv"
},
"extract": {
"column": "poll_date"
}
}
},
{
"@type": "cr:Field",
"@id": "polls-peru-runoff-polls/fieldwork",
"name": "fieldwork",
"dataType": "sc:Text",
"source": {
"fileObject": {
"@id": "polls/peru-runoff-polls.csv"
},
"extract": {
"column": "fieldwork"
}
}
},
{
"@type": "cr:Field",
"@id": "polls-peru-runoff-polls/pollster",
"name": "pollster",
"dataType": "sc:Text",
"source": {
"fileObject": {
"@id": "polls/peru-runoff-polls.csv"
},
"extract": {
"column": "pollster"
}
}
},
{
"@type": "cr:Field",
"@id": "polls-peru-runoff-polls/sample",
"name": "sample",
"dataType": "sc:Integer",
"source": {
"fileObject": {
"@id": "polls/peru-runoff-polls.csv"
},
"extract": {
"column": "sample"
}
}
},
{
"@type": "cr:Field",
"@id": "polls-peru-runoff-polls/fujimori_pct",
"name": "fujimori_pct",
"dataType": "sc:Float",
"source": {
"fileObject": {
"@id": "polls/peru-runoff-polls.csv"
},
"extract": {
"column": "fujimori_pct"
}
}
},
{
"@type": "cr:Field",
"@id": "polls-peru-runoff-polls/sanchez_pct",
"name": "sanchez_pct",
"dataType": "sc:Float",
"source": {
"fileObject": {
"@id": "polls/peru-runoff-polls.csv"
},
"extract": {
"column": "sanchez_pct"
}
}
},
{
"@type": "cr:Field",
"@id": "polls-peru-runoff-polls/lead_pp",
"name": "lead_pp",
"dataType": "sc:Float",
"source": {
"fileObject": {
"@id": "polls/peru-runoff-polls.csv"
},
"extract": {
"column": "lead_pp"
}
}
},
{
"@type": "cr:Field",
"@id": "polls-peru-runoff-polls/source_url",
"name": "source_url",
"dataType": "sc:Text",
"source": {
"fileObject": {
"@id": "polls/peru-runoff-polls.csv"
},
"extract": {
"column": "source_url"
}
}
}
]
}
]
}