Open dylanbeaudette opened 7 years ago
Personally, I'm putting in my two cents for option 3. Component layer ID is a nice place to store, but unable to keep track of progressive "correlations" due to it being one field and not a table unto itself.
Further, component layer ID becomes confounded when the same pedon record is supporting documentation for multiple components, especially if the modal pedons for those components have different horizonation. In an "ideal" world, I suppose all components range in characteristics would be derived from pedons found within that mapunit's extent (rather than e.g. an adjacent slope class), but at least in 630.... relying on comp layer id as a permanent record of correlation decisions is not really that feasible.
And while I do think its worth keeping track of component<->regex pattern rules, I don't think R files filled up with lists of regex patterns is really ideal for traversing these data. Cya in the other repo!
Everyone does this differently and there is no long-term strategy that I am aware of. Some options:
assign to pedon data in NASIS via component layer ID (clearly this has many shortcomings and can't be applied to component data)
keep .R files around with a list of REGEX rules and associated labels
create / curate a more complex data structure that we all have access to, is human readable, and easily compared across versions (sounds like something that can stored on github) that is applicable to "series-level" concepts or concepts that are close-enough to the soil series--started a related repository
... I'll move the rest of my ideas over to the new repository, but wanted to place-marker here because
soilReports
is where the application of these rules happens.