Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

get_site_data_from_NASIS_db

Extract 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,
  stringsAsFactors = default.stringsAsFactors(),
  dsn = NULL
)

Arguments

SS

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

stringsAsFactors

logical: should character vectors be converted to factors? This argument is passed to the uncode() function. It does not convert those vectors that have been set outside of uncode() (i.e. hard coded).

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


soilDB

Soil Database Interface

v2.6.1
GPL (>= 3)
Authors
Dylan Beaudette [aut], Jay Skovlin [aut], Stephen Roecker [aut], Andrew Brown [aut, cre]
Initial release
2021-04-7

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.