Get horizon-level data from a local NASIS database.

get_hz_data_from_NASIS_db(
  SS = TRUE,
  fill = FALSE,
  stringsAsFactors = default.stringsAsFactors(),
  dsn = NULL
)

Arguments

SS

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

fill

include pedons without horizon data in result? default: FALSE

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

Value

A data.frame.

Note

NULL total rock fragment values are assumed to represent an absence of rock fragments, and set to 0.

See also

get_hz_data_from_NASIS_db, get_site_data_from_NASIS_db

Author

Jay M. Skovlin and Dylan E. Beaudette