Code
replace_zeroes_with_na(x, contest_id, pollingplace_id)
Output
# A tibble: 4 x 4
contest_id pollingplace_id candidate_id votes
<int> <int> <int> <int>
1 1 1 1 NA
2 1 1 2 NA
3 1 2 1 100
4 1 2 2 0
Code
replace_zeroes_with_na(x, contest_id, pollingplace_id)
Output
# A tibble: 0 x 4
# ... with 4 variables: contest_id <???>, pollingplace_id <???>,
# candidate_id <???>, votes <???>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.