146,560 marked positions from 36,183 rankers over 8 options.
One of 607 tables from the same source; this one is the sf_20201103_boardofsupsd1 table. The others are listed under Related tables.
| Description | Ranked-choice cast vote records, San Francisco Board of Supervisors District 1, 3 November 2020 (ballot-level columns: precinct portion, ballot type, counting group, voting location, district, district type, precinct): single-winner (instant-runoff) election, 7 candidates, 7 rank positions offered, 36183 ballots with at least one mark (of 39909 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 |
| Items | 8 |
|---|---|
| Rankers | 36,183 |
| Marked positions (one row each) | 146,560 |
| Rankings per respondent | 1 |
| Counting method | irv |
| Seats | 1 |
| Positions offered | 7 |
| Candidates | 7 |
| Ballots cast | 39,909 |
| Ballots with marks | 36,183 |
| Duplicate marks | 2,454 |
| Overvotes | 336 |
| Write-ins | 0 |
| Write-in allowed | yes |
| Candidate order | fixed |
| Jurisdiction | SanFrancisco |
| Contest date | 2020-11-03 |
| Office | BoardOfSupervisorsD1 |
cov_ballot_typecov_counting_groupcov_districtcov_district_typecov_precinctcov_precinct_portioncov_voting_locationiditemresptask
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_sf_20201103_boardofsupsd1", source = "rank")
# Python
pip install irw
import irw
df = irw.fetch("rcv_sf_20201103_boardofsupsd1", 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_sf_20201103_boardofsupsd1, 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 |