euro_nuts2: Loads a NUTS2-level map of Europe, for plotting Eurostat data

Description Usage Arguments Examples

View source: R/euro_nuts2.R

Description

This function loads a map of European NUTS2 regions, ready for plotting with ggplot.

Usage

1
euro_nuts2(keep = 0.05, region = "NUTS_ID")

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 4-letter NUTS ID

Examples

1
europe <- euro_nuts2() %>% inner_join(life.exp, by = c('id' = 'nuts_id'))

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