-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NA should be interpreted as FALSE in .diagHzLongtoWide() #59
Comments
Possible solution:
|
Grave digging a bit here while doing some As Dylan pointed out I think I would shy away from filling If folks agree with my interpretations on following points, I think this issue can be closed.
As an aside, @smroecker had proposed a refactor of this function in #158. That might be something to strongly consider for all "extended" data sources in near future / following merge of #149 |
I would agree with your comments, Andrew. I think it is good to be able to make the distinction between NULL input vs. definitive FALSE. We will need to retain that kind of information for future gap filling diagnostics and workflows. |
Works for me. Another line of reasoning: all pedons should have at least 1 diagnostic horizon / feature record, the complete absence suggests a data population error. |
It appears that
.diagHzLongtoWide()
assigns NA to all columns when a pedon has no diagnostic features. NA should probably beFALSE
, since we interpret NULL records as missing for all other interpretation of diagnostic feature records.Probably related to joining a limited set of
peiid
records to the full set in@site
.The text was updated successfully, but these errors were encountered: