Learn R Programming

soilDB (version 2.5)

get_comonth_from_NASIS_db: Extract component month data from a local NASIS Database

Description

Extract component month data from a local NASIS Database.

Usage

get_comonth_from_NASIS_db(SS = TRUE, fill = FALSE, 
                          stringsAsFactors = default.stringsAsFactors()
                          )

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

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)

Value

A list with the results.

Details

This function currently works only on Windows.

See Also

fetchNASIS

Examples

Run this code
# NOT RUN {
# query text note data
cm <- try(get_comonth_from_NASIS_db())

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

Run the code above in your browser using DataLab