Closed claraqin closed 3 years ago
Update: I modified downloadRawSoilData
so that it accounts for the new NEON soil data structure and prints more helpful messages. From my end, it seems like the vignette isn't handling the new soil data structure correctly, though, so that still needs to be updated.
Copied from an email with suggestions from @lstanish:
The issues listed in the previous comment have been addressed as of the most recent commit.
In addition, %N and %organicC records, which were previously stored in separate rows, have been collapsed in to the same rows. However, C/N ratio has not yet been calculated from them, and we need to check if that is necessary.
The vignettes still need to be updated to use the new downloadRawSoilData
function.
Addressed with updates to downloadSoilData
(previously downloadRawSoilData
) from the merge of batch_structure
into master
.
The
downloadRawSoilData
function and subsequent code were developed assuming an outdated NEON soil data structure, in which DP1.10086.001 was physical properties and DP1.10078.001 was chemical properties. Now, DP1.10086.001 contains the combined chemical and physical properties. We should check the add_environmental_variables vignettes and thedownloadRawSoilData
vignettes to ensure that they are still working properly.