get_ecosite_history_from_NASIS_db: Get Site Ecological Site History

View source: R/get_ecosite_history_from_NASIS_db.R

get_ecosite_history_from_NASIS_dbR Documentation

Get Site Ecological Site History

Description

Gets the Site Ecological Site History data from local NASIS database. Used by get_extended_data_from_NASIS_db().

Usage

get_ecosite_history_from_NASIS_db(best = TRUE, SS = TRUE, dsn = NULL)

Arguments

best

Should the "best" ecological site correlation be chosen? Creates field called es_selection_method with "most recent" or "least missing data" for resolving many:1 relationships in site history.

SS

Use selected set? Default: TRUE

dsn

Path to SQLite data source, or a DBIConnection to database with NASIS schema.

Value

a data.frame, or NULL on error

See Also

get_extended_data_from_NASIS_db()


soilDB documentation built on Nov. 17, 2023, 1:09 a.m.