Learn R Programming

GNRS (version 0.3.4)

GNRS_get_counties: Get metadata on counties

Description

Return metadata about counties, parishes, etc. used by the GNRS

Usage

GNRS_get_counties(state_province_id = "", ...)

Arguments

state_province_id

A GNRS state_id, or a vector of state_ids.

...

Additional parameters passed to internal functions

Value

Dataframe containing information on counties/parishes (e.g. iso code, fips code, continent, standardized name)

Examples

Run this code
# NOT RUN {
states <- GNRS_get_states()
us_counties <- GNRS_get_counties(
state_province_id = states$state_province_id[
which(states$country_iso == "US")])
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab