324,436 marked positions from 144,029 rankers over 20 options.
One of 607 tables from the same source; this one is the mpls_20211102_mayor table. The others are listed under Related tables.
| Description | Ranked-choice cast vote records, Minneapolis, Minnesota mayor, 2 November 2021 (17 names printed on the ballot plus one declared write-in candidate named in the file): single-winner (instant-runoff) election, 18 candidates, 3 rank positions offered, 144029 ballots with at least one mark (of 145337 in the file). One row per ballot x marked position; item = candidate code c01.. in alphabetical order of the printed names (names not stored), resp = position as marked. Rankings layout (draft irw_rankings family, data/rankings/README.md). |
|---|---|
| Reference | FairVote. Single winner ranked choice voting CVRs [data set]. Harvard Dataverse. https://doi.org/10.7910/DVN/AMK8PJ |
| Licence | CC0 1.0 |
| Source data | https://doi.org/10.7910/DVN/AMK8PJ |
Minneapolis_20211102_Mayor.tab, the copy fairvote_cvr.py downloads (Dataverse's tab-delimited export of FairVote's CSV upload), writes the double quotes inside four candidates' names as \"; the CSV upload doubles them instead. This is in 15,280 cells on 12,664 of the file's 145,337 ballot rows. Python's default csv.reader, which fairvote_cvr.py uses, keeps the backslashes and some of the quote marks in those name strings; reading with escapechar='\\' and doublequote=False gives the names as they are in the CSV upload. The codes are not affected: the names read either way get the same codes on every row (c02, c03, c09 and c14 are the ones with the quotes). The table holds codes, not names, so nothing was changed. (irw#3024)These notes describe the source data, which the IRW reproduces as released. All notes are listed on the Data Notes page.
| Items | 20 |
|---|---|
| Rankers | 144,029 |
| Marked positions (one row each) | 324,436 |
| Rankings per respondent | 1 |
| Counting method | irv |
| Seats | 1 |
| Positions offered | 3 |
| Candidates | 18 |
| Ballots cast | 145,337 |
| Ballots with marks | 144,029 |
| Duplicate marks | 8,135 |
| Overvotes | 378 |
| Write-ins | 1,488 |
| Write-in allowed | yes |
| Candidate order | rotated |
| Jurisdiction | Minneapolis |
| Contest date | 2021-11-02 |
| Office | Mayor |
cov_precinctiditemresptask
The layout (one row per respondent, ranking and marked position; resp the position as recorded, 1 = first choice; item a candidate code c01, c02, … or a reserved value) is defined in the IRW rankings standard. Skipped positions are gaps and duplicate marks are kept, so compress with irw_rank_compress() / irw.rank_compress() before a person-by-item pivot.
Or load it directly in R (no account needed with irw 1.4.0 or later) or Python (needs a free Redivis account; the first call opens a browser to sign in):
# R
install.packages("irw")
library(irw)
df <- irw_fetch("rcv_mpls_20211102_mayor", source = "rank")
# Python
pip install irw
import irw
df = irw.fetch("rcv_mpls_20211102_mayor", source="rank")
Or in Stata, which reads the same no-account CSV as the button above:
* Stata
net install irw, from("https://raw.githubusercontent.com/itemresponsewarehouse/Stata-pkg/main/")
irw_fetch rcv_mpls_20211102_mayor, clear source(rank)
@misc{https://doi.org/10.7910/dvn/amk8pj,
doi = {10.7910/DVN/AMK8PJ},
url = {https://dataverse.harvard.edu/citation?persistentId=doi:10.7910/DVN/AMK8PJ},
author = {Otis, Deb},
keywords = {Social Sciences},
title = {Single winner ranked choice voting CVRs},
publisher = {Harvard Dataverse},
year = {2022}
}
| IRW version | v744 |
|---|---|
| Redivis dataset | irw_rank v2.1 |
| Redivis dataset DOI | 10.57761/fznb-zb47 |
| Manifest pin for this IRW version | v2.1 |
| Metadata source | irw_meta v78.0 |