get_shapes {geeLite}R Documentation

Get Shapes for Specified Regions

Description

Retrieves the shapes of specified regions, which can be at the country or state level.

Usage

get_shapes(regions)

Arguments

regions

[mandatory] (character) A vector containing ISO 3166-2 region codes. Country codes are two characters long, while state codes contain additional characters.

Value

A simple features (sf) object containing the shapes of the specified regions.


[Package geeLite version 1.0.2 Index]