ncss-tech / soilReports

An R package that assists with the setup and operation of a collection of soil data summary, comparison, and evaluation reports. These reports are primarily used by USDA-NRCS soil scientists in both initial and update mapping.
15 stars 5 forks source link

dmu-diff report should infer reasonable of "old" vs. "new" DMU #67

Closed dylanbeaudette closed 6 years ago

dylanbeaudette commented 7 years ago

For example:

old <- letters[1:5]
new <- 'new'
cat(paste(old, ' vs. ', new), sep = '\n')
a  vs.  new
b  vs.  new
c  vs.  new
d  vs.  new
e  vs.  new
dylanbeaudette commented 7 years ago

Hmm, it is more nuanced than that. The relationship between "old" / "new" should be sorted out via the mapunit / correlation records.

dylanbeaudette commented 7 years ago

See this tutorial for some reminders on existing functions that can be used to parse-out the required relationships.