# NOT RUN {
# Select by range
results <- get_cantonalvotes(
geolevel = "district",
from_date = "2019-01-01",
to_date = "2019-12-31"
)
# Select specific votedate(s)
get_cantonalvotes(votedates = "2019-02-10")
# get the results at counting district level
# yields the same result as the municipality level, with the
# exception of Winterthur and Zurich,
# where detailed counting district results are returned instead.
get_cantonalvotes(votedate = "2019-09-22", geolevel = "zh_counting_districts")
# }
Run the code above in your browser using DataLab