Get component data from a local NASIS Database

get_component_data_from_NASIS_db(
  SS = TRUE,
  nullFragsAreZero = TRUE,
  stringsAsFactors = default.stringsAsFactors(),
  dsn = NULL
)

Arguments

SS

fetch data from the currently loaded 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

logical: should character vectors be converted to factors? This argument is passed to the uncode() function. It does not convert those vectors that have set outside of uncode() (i.e. hard coded). The 'factory-fresh' default is TRUE, but this can be changed by setting options(stringsAsFactors = FALSE)

dsn

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

Value

a data.frame

See also

Author

Dylan E. Beaudette, Stephen Roecker, and Jay M. Skovlin

Examples


# \donttest{
if(local_NASIS_defined()) {
 # query text note data
 fc <- try(get_component_data_from_NASIS_db())

 # show structure of component data returned
 str(fc)
}
# }