Fetch lab data used site/horizon data from a PedonPC database.
Fetch KSSL laboratory pedon/horizon layer data from a local NASIS database, return as a SoilProfileCollection object.
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
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)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.