se_county: Loads a map of Swedish counties for plotting with ggplot2

Description Usage Arguments Examples

View source: R/se_county.R

Description

This function loads a map of Swedish counties (län), ready for plotting with ggplot. The shapefile comes from Valmyndigheten.se

Usage

1
se_county(keep = 0.05, region = "LAN")

Arguments

keep

The amount you want to simplify the shapefile to - defaults to five percent

region

What you want to call each region when fortified. This should be an area code or other unique identifier. It defaults to the 2-letter county ID

Examples

1
sweden <- se_county() %>% inner_join(life.exp, by = c('id' = 'county_id'))

cguibourg/jpplot2 documentation built on Dec. 30, 2019, 8:43 p.m.