Description Usage Details Value Note Author(s) See Also Examples
Fetch KSSL laboratory pedon/horizon layer data from a local NASIS database, return as a SoilProfileCollection object.
1 |
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
1 2 3 4 5 6 7 8 9 10 11 | ## 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')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.