Learn R Programming

choroplethrAdmin1 (version 1.1.0)

get_admin1_regions: Get all admin1 region names for a given country

Description

Get all admin1 region names for a given country

Usage

get_admin1_regions(country.name)

Arguments

country.name
The name of the country you want the admin1 region names of.

See Also

admin1.map, admin1.regions, admin1_map and get_admin1_map

Examples

Run this code
get_admin1_regions("japan")
get_admin1_regions("canada")

Run the code above in your browser using DataLab