NSR {NSR}R Documentation

Check the native status for plant species in a political region

Description

NSR returns information on native status for species within a political region.

Usage

NSR(occurrence_dataframe, ...)

Arguments

occurrence_dataframe

A properly formatted dataframe, see https://bien.nceas.ucsb.edu/bien/tools/nsr/batch-mode/

...

Additional arguments passed to internal functions.

Value

Dataframe containing NSR results.

Examples

## Not run: 

results <- NSR(occurrence_dataframe = nsr_testfile)
  
# Inspect the results
head(results, 10)
# That's a lot of columns. Let's display one row vertically
# to get a better understanding of the output fields
results.t <- t(results[,2:ncol(results)]) 
results.t[,1,drop =FALSE]
# Summarize the main results
results[ 1:10, 
c("species", "country", "state_province", "native_status", "native_status_reason")]

# Compare summary flag isIntroduced to more detailed native_status values
# and inspect souces consulted
results[ 1:10, 
c("species", "country", "state_province", "native_status", "isIntroduced", "native_status_sources")]





## End(Not run)

[Package NSR version 0.1.0 Index]