hlth_rs_bdsrg %>%
filter(time == "2015",
nchar(geo) == 4,
facility == "HBEDT_CUR",
unit == "HAB_P") %>%
left_join(geo, by = "geo") %>%
select(geo, Geo, values) %>%
arrange(-values) %>%
right_join(europe_NUTS2, by = "geo") %>%
filter(long >= -15, lat >= 33) %>%
ggplot(., aes(x = long, y = lat, group = group, fill = values)) +
geom_polygon() + coord_map() +
scale_fill_viridis_c(na.value = "white",
labels = scales::dollar_format(accuracy = 1, prefix = ""),) +
theme_void() + theme(legend.position = c(0.25, 0.85)) +
labs(fill = "Inhabitants per curative beds")