label

0th

Percentile

Separates single column election data frames.

Takes a data frame of a single column (i.e. sf_bos_ballot) and splits it into usable named columns.

Usage
label(data, image, format)
Arguments
data

A data frame with a single column

image

Whether the data is a "ballot" or "lookup" image

format

A character string detailing the format. Current supported formats are "WinEDS" and "ChoicePlus" (forthcoming), based on common types of software used. Contact creators with suggestions for more formats.

Value

A data frame with multiple columns

Aliases
  • label
Examples
# NOT RUN {
label(data = sf_bos_ballot, image = "ballot", format = "WinEDS")
# }
Documentation reproduced from package rcv, version 0.2.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.