Description Usage Arguments Value Examples
View source: R/valmyndigheten_get.R
Get data from Valmyndigheten
1 | valmyndigheten_get(years, election_types)
|
years |
A numeric vector of years (2010, 2014 and/or 2018) |
election_types |
A character vector of election types ("riksdag", "county" and/or "municipality") |
A tibble of elections matching the specificed year
and election_type
1 2 | valmyndigheten_get(c(2010), c("riksdag"))
valmyndigheten_get(c(2010, 2014, 2018), c("riksdag", "county", "municipal"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.