Description Usage Arguments Value
Some elements within AEC feeds contain a value of 0 when results haven't been received yet. This function checks whether each full group of vote count elements (e.g., per polling place) has zero values and, if so, changes them all to NA. Provide grouping variables via the dots (...) in the function call.
1 |
x |
A data frame |
... |
Grouping variables that will be applied to identify whether a complete group of rows have zero total votes reporting. |
A data frame with zeroes replaced by NA
s
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.