Description Usage Arguments Value
View source: R/clarity_data_frame.R
Converts the lowest geographic level (typically Precinct) of a
clarity_xml
object into a long, 'tidy' dataframe.
1 2 | ## S3 method for class 'clarity_xml'
as.data.frame(x, ...)
|
x |
an object of class |
... |
arguments passed to as.data.frame |
a data frame, with the columns precinct, votes, votetype, candidate, race
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.