soilDB 2.7.3
soilDB 2.7.3 (2022-08-19)
-
get_SDA_property()
all methods now supportmiscellaneous_areas
argument. This defaults toFALSE
for the methods it was previously implemented for--so be aware that queries using"Dominant Component"
or"Dominant Condition"
(which previously did not respond tomiscellaneous_areas
) may have the number of rows in result reduced due to omission of miscellaneous land types. If this is unexpected or undesired, please usemiscellaneous_areas=TRUE
. (#257) -
Adds
get_NASIS_metadata()
and helper methodget_NASIS_column_metadata()
and other new tools for working withuncode()
, factors and NASIS metadata cached in the package. -
Bug fix for
get_cosoilmoist_from_SDA()
; thanks to Monika Shea @monikashea for reporting the problem (#253) -
fetchNASIS_report()
now works with the output from"get_site_from_NASIS"
report (useful for site records without associated pedons) -
createSSURGO()
gains argumentsquiet
andinclude_spatial
to toggle messages and inclusion of spatial data in created SQLite database, respectively -
downloadSSURGO()
now handles queries againstsacatalog
that return no results more gracefully -
get_OSD()
: Addfix_ocr_errors
argument forresult='json'
to fix common optical character recognition errors associated with horizon designations and colors (NOTE: does NOT fix depths) -
fetchSCAN()
gainstimeseries
argument to support batch downloads of hourly data. Additional arguments (...
) are passed as a raw request, allowing other parameters sent in request to be modified if needed, and bypassing batch functionality. This is similar to thereq
argument syntax used in earlier versions of this function, which had been deprecated for some time now. Thanks to Matthew Morriss for raising the discussion item @morrismc99 (#260). -
{curl} moved from Suggests to Imports;
curl::curl_download()
is now used instead ofutils::download.file()
because it seems to handle SSL certificates better on some networks.