2018–2022 · 2 elections · CRI
SAGE has legislative and presidential election results for Costa Rica from 2 elections between 2018 and 2022: 2018 and 2022. The smallest unit is the polling station. The 2022 election has 2,152 polling stations, and 98% of them have a location. Unit boundaries are available for every election.
[explore on the map] [download] [codebook] [all 134 countries]
Units are the smallest units in the data, and located units are those with coordinates. A year with several rows has several contests or votes; filter on them before you add up votes.
| Year | Election type | Vote type | Round | Units | % located | Votes | Polygons | |
|---|---|---|---|---|---|---|---|---|
| 2018 | Legislative (unicameral) | 2,086 | 100% | 2,137,556 | yes | [map] | ||
| Presidential | First Round | 1 | 2,086 | 100% | 2,150,306 | yes | ||
| Presidential | Second Round | 2 | 2,086 | 100% | 2,178,520 | yes | ||
| 2022 | Legislative (unicameral) | 2,100 | 100% | 2,075,872 | yes | [map] | ||
| Presidential | First Round | 1 | 2,152 | 98% | 2,094,816 | yes | ||
| Presidential | Second Round | 2 | 2,100 | 100% | 1,954,718 | yes |
csv opens in Excel, Stata, R, or Python. gpkg has the unit boundaries
for QGIS, ArcGIS, R, or Python. parquet has the vote rows as Parquet.
rds is the native R sf object. Each ZIP has a README with the columns.
All years: [csv 2.1 MB] [gpkg 995 KB] [parquet 1.9 MB] [rds 4.1 MB] [codebook 311 KB]
| Year | Downloads |
|---|---|
| 2022 | [csv 1.2 MB] [gpkg 507 KB] [parquet 594 KB] |
| 2018 | [csv 916 KB] [gpkg 505 KB] [parquet 502 KB] |
In R or Python:
R: install.packages("sage")
sage::sage_load("Costa Rica", years = 2022)
Python: import sage
sage.sage_load("Costa Rica", years=[2022])
Dasanaike, Noah. “The Small-Area Global Elections (SAGE) Dataset.” Scientific Data (2026). Paper · Harvard Dataverse
← Colombia · All countries · Croatia →