get_comonth_from_NASIS_db: Get component month data from a local NASIS Database

View source: R/get_component_data_from_NASIS_db.R

get_comonth_from_NASIS_dbR Documentation

Get component month data from a local NASIS Database

Description

Get component month data from a local NASIS Database.

Usage

get_comonth_from_NASIS_db(
  SS = TRUE,
  fill = FALSE,
  stringsAsFactors = NULL,
  dsn = NULL
)

Arguments

SS

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

fill

should missing "month" rows in the comonth table be filled with NA (FALSE)

stringsAsFactors

deprecated

dsn

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

Value

A list with the results.

Author(s)

Stephen Roecker

See Also

fetchNASIS

Examples



if(local_NASIS_defined()) {
  # query text note data
  cm <- try(get_comonth_from_NASIS_db())

  # show structure of component month data
  str(cm)
}



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