Learn R Programming

geeLite (version 1.0.2)

get_shapes: 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)

Value

A simple features (sf) object containing the shapes of the specified 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.