get_veg_data_from_NASIS_db: Get vegetation data from a local NASIS Database

View source: R/get_veg_data_from_NASIS_db.R

get_veg_data_from_NASIS_dbR Documentation

Get vegetation data from a local NASIS Database

Description

Get vegetation data from a local NASIS Database. Result includes two data.frames corresponding to the "Plot Plant Inventory" and "Vegetation Transect" child tables of "Vegetation Plot".

Usage

get_veg_data_from_NASIS_db(SS = TRUE, dsn = NULL)

Arguments

SS

get data from the currently loaded Selected Set in NASIS or from the entire local database (default: TRUE)

dsn

Optional: path to local SQLite database containing NASIS table structure; default: NULL

Value

A list of data.frame

Author(s)

Jay M. Skovlin and Dylan E. Beaudette

Examples



if(local_NASIS_defined()) {
 # query text note data
 v <- try(get_veg_from_NASIS_db())

 # show contents veg data returned
 str(v)
}



soilDB documentation built on Sept. 11, 2024, 8:28 p.m.