Takes a data frame of a single column (i.e. sf_bos_ballot) and splits it into usable named columns.
label(data, image, format)
A data frame with a single column
Whether the data is a "ballot" or "lookup" image
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.
A data frame with multiple columns
# NOT RUN {
label(data = sf_bos_ballot, image = "ballot", format = "WinEDS")
# }
Run the code above in your browser using DataLab