BIEN_plot_state function

Download plot data from specified states/provinces.

Download plot data from specified states/provinces.

BIEN_plot_state downloads all plot data from specified states/provinces.

BIEN_plot_state( country = NULL, state = NULL, country.code = NULL, state.code = NULL, cultivated = FALSE, new.world = NULL, all.taxonomy = FALSE, native.status = FALSE, natives.only = TRUE, political.boundaries = TRUE, collection.info = FALSE, all.metadata = FALSE, ... )

Arguments

  • country: A single country.
  • state: A state or vector of states (or other primary political divisions).
  • country.code: A single country code or a vector of country codes equal in length to the vector of states/province codes.
  • state.code: A single state/province code, or a vector of states/province codes.
  • cultivated: Return cultivated records as well? Default is FALSE.
  • new.world: NULL (The default) returns global records, TRUE returns only New World, and FALSE only Old World.
  • all.taxonomy: Return all taxonomic information? This includes the raw data as well as the "scrubbed" data.
  • native.status: Return information on introduction status? The default value is FALSE. A value of TRUE also returns additional information on introduction status.
  • natives.only: Exclude detected introduced species? Default is TRUE.
  • political.boundaries: Return information on political boundaries for an observation? The default value is FALSE.
  • collection.info: Return additional information about collection and identification? The default value is FALSE.
  • all.metadata: Should additional plot metadata be returned? Default is FALSE.
  • ...: Additional arguments passed to internal functions.

Returns

A dataframe containing all data from the specified states.

Note

US FIA coordinates have been fuzzed and swapped, for more details see: https://www.fia.fs.fed.us/tools-data/spatial/Policy/index.php

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.

This function requires you supply either 1) a single country with one or states, or 2) vectors of equal length for each political level.

Examples

## Not run: BIEN_plot_state(country="United States", state="Colorado") BIEN_plot_state(country="United States",state= c("Colorado","California")) ## End(Not run)

See Also

Other plot functions: BIEN_plot_country(), BIEN_plot_dataset(), BIEN_plot_datasource(), BIEN_plot_list_datasource(), BIEN_plot_list_sampling_protocols(), BIEN_plot_metadata(), BIEN_plot_name(), BIEN_plot_sampling_protocol(), BIEN_plot_sf()

  • Maintainer: Brian Maitner
  • License: MIT + file LICENSE
  • Last published: 2025-01-31

Useful links