world_map: Loads a world map

Description Usage Arguments Examples

View source: R/world_map.R

Description

This function loads a world map ready for plotting with ggplot.

Usage

1
world_map(keep = 0.05, region = "ISO_A3")

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 3-letter ISO code

Examples

1
world <- world_map() %>% inner_join(life.exp, by = c('id' = 'three_letter_iso'))

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