BIEN_list_state {BIEN}R Documentation

Extract a species list by state/province

Description

BIEN_list_state produces a list of all species with geovalidated occurrences falling within specified state(s) or province(s).

Usage

BIEN_list_state(
  country = NULL,
  country.code = NULL,
  state = NULL,
  state.code = NULL,
  cultivated = FALSE,
  new.world = NULL,
  ...
)

Arguments

country

A single country or a vector of countries equal in length to the vector of states/provinces.

country.code

A single country code or a vector of country codes equal in length to the vector of states/province codes.

state

A state or vector of states (or other primary political divisions, e.g. provinces).

state.code

A single state/province code, or a vector of states/province codes.

cultivated

Return information on cultivation status? Default is FALSE.

new.world

NULL (The default) returns global records, TRUE returns only New World, and FALSE only Old World.

...

Additional arguments passed to internal functions.

Value

Dataframe containing species list(s) for the specified states/provinces.

Note

Political division (or political division code) spelling needs to be exact and case-sensitive, see BIEN_metadata_list_political_names for a list of political divisions and associated codes.

See Also

Other list functions: BIEN_list_all(), BIEN_list_country(), BIEN_list_county(), BIEN_list_sf()

Examples

## Not run: 
BIEN_list_state("United States","Michigan")
state_vector<-c("Michigan","Arizona")
BIEN_list_state(country="United States", state= state_vector)
## End(Not run)

[Package BIEN version 1.2.6 Index]