Learn R Programming

soilDB (version 2.3)

fetchNASISLabData: Fetch lab data used site/horizon data from a PedonPC database.

Description

Fetch KSSL laboratory pedon/horizon layer data from a local NASIS database, return as a SoilProfileCollection object.

Usage

fetchNASISLabData()

Arguments

Value

a SoilProfileCollection class object

Details

This function currently works only on Windows, and requires a 'nasis_local' ODBC connection.

See Also

get_labpedon_data_from_NASIS_db

Examples

Run this code
# NOT RUN {
# query depends on some lab data, queried against the national database
# note that you must setup this connection ahead of time
# see inst/doc/setup_ODBC_local_NASIS.pdf
f <- fetchNASISLabData()

# plot only those profiles with densic contact
#plot(f[which(f$densic.contact), ], name='hzname')

# }

Run the code above in your browser using DataLab