fetchNASISLabData {soilDB} | R Documentation |
Fetch KSSL laboratory pedon/horizon layer data from a local NASIS database, return as a SoilProfileCollection object.
fetchNASISLabData()
This function currently works only on Windows, and requires a 'nasis_local' ODBC connection.
a SoilProfileCollection class object
This fuction attempts to do most of the boilerplate work when extracting KSSL laboratory site/horizon data from a local NASIS database. Lab pedons that have errors in their horizonation are excluded from the returned object, however, their IDs are printed on the console. See getHzErrorsNASIS
for a simple approach to identifying pedons with problematic horizonation.
J.M. Skovlin and D.E. Beaudette
get_labpedon_data_from_NASIS_db
## Not run:
##D # query depends on some lab data, queried against the national database
##D # note that you must setup this connection ahead of time
##D # see inst/doc/setup_ODBC_local_NASIS.pdf
##D f <- fetchNASISLabData()
##D
##D # plot only those profiles with densic contact
##D #plot(f[which(f$densic.contact), ], name='hzname')
##D
## End(Not run)