Description Usage Arguments Value Examples
View source: R/cleaning_functions.R
Matches codes in the 'contest_id', 'tally_type_id', 'precinct_id', and 'candidate_id' columns in the labelled ballot with codes from the 'id' column in the labelled lookup, then replaces these codes with character values from the 'description' column in the lookup.
1 | characterize(ballot, lookup, format)
|
ballot |
The labelled ballot data |
lookup |
The labelled lookup data |
format |
A character string detailing the format. Current supported formats are "WinEDS" and "ChoicePlus" (in progress), based on common types of software used. Contact creators with suggestions for more formats. |
The ballot data, but now "readable" so votes can be understood
1 2 3 4 5 | ## Not run:
characterize(ballot = sf_ballot_labelled, lookup = sf_lookup_labelled,
format = "WinEDS")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.