Learn R Programming

NSR (version 0.1.0)

NSR_template: Make a template for an NSR query

Description

NSR_template builds a template that can be populated to submit an NSR query.

Usage

NSR_template(nrow = 1)

Value

Template data.frame that can be populated and then used in NSR queries.

Arguments

nrow

The number of rows to include in the template

Examples

Run this code
if (FALSE) {

template<-NSR_template(nrow = 2)
template$genus<-"Acer"
template$species<-c("Acer rubrum", "Acer saccharum")
template$country<-"Canada"
template$user_id<-1:2
results <- NSR(occurrence_dataframe = template)

}

Run the code above in your browser using DataLab