Description Usage Arguments Examples
Get a table of results by candidate and Congressional district
Format candidate results in an HTML table
1 2 3 | candidate_results(map_id)
results_to_table(results, keep_percentage = 0.05)
|
map_id |
An ID from the |
results |
A data frame of results from |
keep_percentage |
What percentage of votes defines a contender? |
1 2 3 4 5 | map_id <- "meae.congressional.congress05.nh.county"
candidate_results(map_id)
map_id <- "meae.congressional.congress05.nh.county"
results <- candidate_results(map_id)
results_to_table(results)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.