A previous single state prototype implementation was done for Colorado in a Beta version of the National Biogeographic Map. Stakeholders have agreed to support the full implemention of the state lists of bad neighbors capability shown in that prototype but not the parsed charts of life. These charts require static data and which are likely to give irrational results as data are added to BISON if they are made dynamic.
Data for the analysis are derived through dynamic API queries to BISON found in the state_bad_neighbor_query.R and state_all_species_query.R files. The code is both dynamic in drawing data directly from BISON, and functional. There is no reliance on static distribution data unless the query fails. The process does generate a series of csv and json files that are then used as input for other processes but the generation of these is included in the code so it could be run either dynamically (probably slowly) or as a staged automatic refresh.
The data acquisition for a part of analysis in the process_bad_neighbor_groups.R function relies on static data for life forms but it should not be part of this implementation. The portion that uses the hierarchy_homonym_string to generate data for taxonomic groups is dynamic but due to sampling bias across taxonomic groups in BISON, the results would need a great deal of interpretation for the user.
Re-implement the tabular state lookup of bad neighbor species found in the Beta National Biogeographic Map, and extend the capability to all states. A click from a state polygon or state name entry box would work for selection of states. This bad neighbor list of non-natives that occur in neighboring states but not in the target state is the heart of the package and the important part to implement.
A user information popup or clearly displayed informational text should accompany any results. It should say:
"This is a list of non-native species that are documented to occur in Bidiversity Information Serving Our Nation (BISON) in one or more surrounding states but not the queried state. Distributions in BISON are not guaranteed complete and can have sampling bias. Determination of non-native status is according to Simpson and Eyler."
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.