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,
  es_classifier = NULL,
  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

es_classifier

Optional: character. Vector of classifier names (and corresponding records) to retain in final result.

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 Sept. 11, 2024, 8:28 p.m.