Hyvinvointialueet
Closed this issue · 2 comments
muuankarski commented
Will implement these manually for 2021
- https://soteuudistus.fi/mika-on-hyvinvointialue
- https://fi.wikipedia.org/wiki/Hyvinvointialue
- https://vaalit.fi/hyvinvointialueet
Missing translations, though
muuankarski commented
First version of the manual implementation here both in Finnish and Swedish
77399fa
Please test if you are interested! Will release in CRAN next week after some holidays.
library(remotes)
install_github("ropengov/geofi", ref = "devel")
library(geofi)
library(dplyr)
library(sf)
library(ggplot2)
muni <- get_municipalities(year = 2021)
muni %>%
count(hyvinvointialue_name_fi,hyvinvointialue_name_sv,hyvinvointialue_code) %>%
ggplot(aes(label = hyvinvointialue_name_sv,fill = hyvinvointialue_code)) +
geom_sf() + theme(legend.position = "none") +
geom_sf_text()
antagomir commented
Works for me at least, after loading the libraries geofi, dplyr, ggplot2