You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.Describe the solution you'd like
MeasureQualifierCodes are hard to interpret. Leverage the TADA WQXMeasureQualifierCodeRef.csv to add definitions for each MeasureQualifierCode. Use TADA_GetMeasureQualifierCodeRef() (https://usepa.github.io/TADA/reference/TADA_GetMeasureQualifierCodeRef.html) to get table. Recommend to create a new TADA.MeasureQualifierCode upon data retrieval as part of autoclean, that is the concatenated MeasureQualifierCode from the dataset with it's associated description from the MeasureQualifierCodeRef.
New features should include all of the following work:
Create the function/code.
Document all code using comments to describe what is does.
Create tests in tests folder.
Create help file using roxygen2 above code.
Create working examples in help file (via roxygen2).
Add to appropriate vignette (or create new one).
The text was updated successfully, but these errors were encountered:
This one has been a little trickier than I expected as some results have multiple qualifiers associated.
This i what I have working so far.
(1) Create concatenated MeasureQualifierCodes and descriptions using MeasureQualifierCodeRef.
(2) Separate and unnest any instances of multiple MeasureQualiferCodes per sample.
(3) Merge the two by MeasureQualifierCode to add the concatenated descriptions to the data.frame of WQP data
(4) Group by ResultIdentifier and use summarize() to return only one row per ResultIdentifier
(5) Assign to TADA.MeasureQualifierCode in .data by ResultIdentifier
I tried a few approaches, but so far this is the most efficient one that I have come up with. Any other suggestions for other strategies? This one does work, but there may be a more efficient option.
Is your feature request related to a problem? Please describe. Describe the solution you'd like
MeasureQualifierCodes are hard to interpret. Leverage the TADA WQXMeasureQualifierCodeRef.csv to add definitions for each MeasureQualifierCode. Use TADA_GetMeasureQualifierCodeRef() (https://usepa.github.io/TADA/reference/TADA_GetMeasureQualifierCodeRef.html) to get table. Recommend to create a new TADA.MeasureQualifierCode upon data retrieval as part of autoclean, that is the concatenated MeasureQualifierCode from the dataset with it's associated description from the MeasureQualifierCodeRef.
New features should include all of the following work:
Create the function/code.
Document all code using comments to describe what is does.
Create tests in tests folder.
Create help file using roxygen2 above code.
Create working examples in help file (via roxygen2).
Add to appropriate vignette (or create new one).
The text was updated successfully, but these errors were encountered: