identify_voter: assign individual voter ID by reading the asterisk mark

View source: R/read_SC.R

identify_voterR Documentation

assign individual voter ID by reading the asterisk mark

Description

Use cumsum to find jumps in the asterisk

Usage

identify_voter(df)

Arguments

df

a data frame where each row is a birth. The column 'voter_top' is 1 if the entry is the first vote on the ballot and 0 otherwise.


kuriwaki/ballot documentation built on May 1, 2023, 9:55 p.m.