get_shapes | R Documentation |
Retrieves the shapes of specified regions, which can be at the country or state level.
get_shapes(regions)
regions |
[mandatory] (character) A vector containing ISO 3166-2 region codes. Country codes are two characters long, while state codes contain additional characters. |
A simple features (sf) object containing the shapes of the specified regions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.