Skip to contents

Plot latest swiss votation using highcharts

Usage

gph_hc_map_swiss_votes(
  geolevel = c("canton", "district", "municipality"),
  votedates,
  id,
  language = "FR"
)

Arguments

geolevel

One of "canton", "district" or "municipality"

votedates

The date of the vote

id

The vote id

language

One of "DE", "FR", "IT" or "RM"

Value

A highcharter map

Examples

gph_hc_map_swiss_votes("canton", votedates = "2024-03-03", id = 6650)
#> Warning: OS reports request to set locale to "fr_CH.UTF-8" cannot be honored