sf_bos_clean: Cleaned ballot image data from a San Francisco RCV election

Description Usage Format

Description

A tidied version of 'sf_bos_ballot' in a "tall" format, readable to see voters' information, including candidate rankings, precinct, and over-/under-vote codings. Cleaned with clean_ballot. clean_ballot(sf_bos_ballot, b_header = T, sf_bos_lookup, l_header = T, format = "WinEDS")

Usage

1

Format

A data frame with 643806 rows and 9 variables:

contest

which election this candidate ranking applies to

pref_voter_id

a unique key identifying an individual voter

serial_number

the serial number of the voting machine used

tally

contains information about whether the ballot was cast in early voting, was filed provisionally, and other factors

precinct

which city precinct the voter voted in

vote_rank

the rank given to the candidate by the voter; in the San Francisco case can take values of 1, 2, or 3

candidate

the chosen candidate for the specified vote rank

over_vote

a dummy variable, coded 1 if the ballot shows more votes cast than the number of candidates to be elected

under_vote

a dummy variable, coded 1 if the ballot shows no valid selection made for a candidate


rcv documentation built on May 2, 2019, 8:35 a.m.