pkgdown/mathjax-config.html

Skip to contents

Quick accessor for country polygons from the bundled dataset.

Usage

get_country(x)

Arguments

x

Country name, ISO2 code, or ISO3 code (case-insensitive)

Value

An sf object with the country polygon, or error if not found.

Examples

get_country("Belgium")
get_country("BE")
get_country("BEL")