get_site_data_from_NASIS_db: Get Site Data from a local NASIS Database

View source: R/get_site_data_from_NASIS_db.R

get_site_data_from_NASIS_dbR Documentation

Get Site Data from a local NASIS Database

Description

Get site-level data from a local NASIS database.

Usage

get_site_data_from_NASIS_db(
  SS = TRUE,
  nullFragsAreZero = TRUE,
  stringsAsFactors = NULL,
  dsn = NULL
)

Arguments

SS

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

nullFragsAreZero

should surface fragment cover percentages of NULL be interpreted as 0? (default: TRUE)

stringsAsFactors

deprecated

dsn

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

Details

When multiple "site bedrock" entries are present, only the shallowest is returned by this function.

Value

A data.frame

Author(s)

Jay M. Skovlin and Dylan E. Beaudette

See Also

get_hz_data_from_NASIS_db


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