export_bad_neighbor_list: export_bad_neighbor_list

Description Usage Arguments Value Examples

View source: R/export_bad_neighbor_list.R

Description

export_bad_neighbor_list

Usage

1
2
export_bad_neighbor_list(state_list, buffer_list, state_name, taxon,
  group_name = NULL)

Arguments

state_list

a list of species scientific names with associated TSN for a given state. This should be the output from the state_bad_nighbor_query function for a single state.

buffer_list

a list of species scientific names with associated TSN for a group of buffer states. This should be the output from the state_bad_nighbor_query function for a group of buffer states.

state_name

the name of the state to process

taxon

the name of the taxon to process

group_name

(Optional) name of a group or taxa (e.g. Grasses) to process.

Value

A tibble (data frame) with the summary of the results for each state, including the total of bad neighbors, the associated total occurrence of non-native species, and the number of non-native species already documented in the state.

Examples

1
2
3
4
5
6
7
8
9
51 FIPS code for Virginia
list of surrounding state FIPS codes
buff_states <- "(24 11 37 47 21 54)"
"*\\-202422\\-*" hierarchy_homonym_string for all plants
va_nn <- state_bad_neighbor_query(fips_list = 51, taxon = "*\\-202422\\-*")

buff_nn <- state_bad_neighbor_query(fips_list = buff_states, taxon = "*\\-202422\\-*")

export_bad_neighbor_list(state_list = va_nn, buffer_list = va_nn_buffer, taxon = taxon = "*\\-202422\\-*", state_name = "Virginia")

usgs-bis/bad-neighbor-invasives documentation built on Sept. 26, 2019, 7:34 a.m.