Learn R Programming

GNRS (version 0.3.4)

GNRS_super_simple: Standardize political division names

Description

GNRS_super_simple returns standardized political division names (according to geonames.org).

Usage

GNRS_super_simple(
  country = NULL,
  state_province = NULL,
  county_parish = NULL,
  user_id = NULL,
  ...
)

Arguments

country

A single country or a vector of countries. If a vector, length must equal length of species vector.

state_province

A single state/province or a vector of states. If a vector, length must equal length of species vector.

county_parish

A single county/parish or a vector of counties. If a vector, length must equal length of species vector.

user_id

A single identifier or vector of identifiers. This field is assigned if not provided and is used to maintain record order.

...

Additional parameters passed to internal functions

Value

Dataframe containing GNRS results.

Examples

Run this code
# NOT RUN {
 
# }
# NOT RUN {
 results <- GNRS_super_simple(country = "United States of America")
 results <- GNRS_super_simple(
             country = "United States",
             state_province = "Arizona",
             county_parish = "Pima County")

# }

Run the code above in your browser using DataLab