shaper_data: shaper_data

Description Usage Arguments Value See Also Examples

View source: R/shaper.R

Description

This function allows you to retrive the wanted shapefile.

Usage

1
shaper_data(country_code, level = 0)

Arguments

country_code

The country's ISO code.

level

The shapefile's level of granularity.

Value

Shapefile for the country and level requested.

See Also

shaper_country for the country's ISO code.

Examples

1
2
3
4
map <- shaper_data(country_code = "ITA")
map <- shaper_data(country_code = "ITA", level=1)
map <- shaper_data("ITA", 1)
map <- shaper_data("USA", 2)

warint/shapeR documentation built on Oct. 20, 2021, 11:01 a.m.