Match attains wqp water types#939
Conversation
added update section
added first test
added new tests
for more information, see https://pre-commit.ci
…EPA/EPATADA into match_attains_wqp_water_types
…EPA/EPATADA into match_attains_wqp_water_types
for more information, see https://pre-commit.ci
|
Spelling check failed. Details: |
1 similar comment
|
Spelling check failed. Details: |
|
coverage-report
Minimum allowed coverage is Generated by 🐒 cobertura-action against d93c152 |
…walk as an option add arg inputs to TADA_CrosswalkWaterTypes to return additional columns to match the needed columns for the crosswalk arg inputs in TADA_UpdateATTAINSAUMLCrosswalk. In TADA_UpdateATTAINSAUMLCrosswalk also handle the crosswalk input by selecting appropriate columns and distinct values from it.
for more information, see https://pre-commit.ci
|
Not sure if this updated workflow makes sense, if a user wants to now use ML as the AU, they can proceed with creating the AUML ref table as follows: #' # filter to Blackfeet |
name change reflected and add missing arg input
…EPA/EPATADA into match_attains_wqp_water_types
for more information, see https://pre-commit.ci
What piece of it needs to be modified do you think? I believe Jesse has a naming convention established for the point AUs based on MLs, so I would like to get that logic from him and create another function which would generate the AU identifiers. Then from there would create the batch upload file with the new AU Ids, Water types, and MLs. |
|
I made some push with updates on how I envisioned the workflow might work (though very open to modifying it). Handling of the ATTAINS batch upload vs TADA workflow might need to be considered as well as how we handle assignment of org_id if there exists multiple orgs like in the Tribal example data frame. I have an open issue #932 that could potentially address the org_id crosswalk. |
|
Example Workflow to get AUMLRef and UsesAURef: |
Pull Request Checklist (convert PR to draft if in progress)
Adds a new function to add/crosswalk ATTAINS.WaterType to a TADA df based on TADA.MonitoringLocationTypeName.. This function will help facilitate the creation of AUs from WQP Monitoring Locations for new ATTAINS tribes.
I will add this function to a mod 2 vignette when additional functions to support this workflow are developed.
Required
Update your branch from the latest
developand resolve any merge conflictsRun devtools::test(), devtools::check(), and devtools::document() locally; ensure tests pass and fix any errors, warnings, or notes. Add new dependencies to
DESCRIPTIONand document appropriatelyAdd/update vignettes for corresponding changes in functionality, list these under articles in _pkgdown.yml, and ensure added/updated vignettes run and build with proper formatting locally
Request review from at least one developer team member (convert PR to ready for review if it was designated as in progress)
Best practices
Include a summary of the changes made and relevant context/motivation
Link issues to auto-close on merge (use Development sidebar or include "Closes #" in the PR)
Refresh inline/block comments for clarity
Update roxygen docs and include examples; review help pages
Add/update tests in
tests/testthat; review the bot's coverage report from test-coverage and confirm all changes are coveredConditional
If there is a bot spelling comment, run spelling::spell_check_package() locally and fix any misspellings; add approved project terms to WORDLIST with spelling::update_wordlist()
If tests fail suggesting internal reference files need a refresh, run
.TADA_UpdateRefFiles()and.TADA_UpdateExampleData()locally viaMaintenanceScheduled.Ror trigger the Component File Update GitHub ActionIf new example data files were added, document them in
ExampleData.Rand include them inMaintenanceScheduled.Rfor regular refreshIf columns were added/updated, update
RequiredCols.RIf changes affect other package or the shiny app functions, update those impacted functions accordingly