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

get_text_notes_from_NASIS_db

Extract text note data from a local NASIS Database


Description

Extract text note data from a local NASIS Database

Usage

get_text_notes_from_NASIS_db(SS = TRUE, fixLineEndings = TRUE, dsn = NULL)

Arguments

SS

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

fixLineEndings

convert line endings from \r\n to \n

dsn

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

Value

A list with the results.

Author(s)

Dylan E. Beaudette and Jay M. Skovlin

See Also

Examples

if(local_NASIS_defined()) {
 # query text note data
 t <- try(get_text_notes_from_NASIS_db())

 # show contents text note data, includes: siteobs, site, pedon, horizon level text notes data.
 str(t)

 # view text categories for site text notes
 if(!inherits(t, 'try-error')) {
  table(t$site_text$textcat)
 }
}

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.