960 function to create gis file new point aus for submission to attains - #1005
960 function to create gis file new point aus for submission to attains#1005hillarymarler wants to merge 36 commits into
Conversation
…-aus-for-submission-to-attains
added additional comments for TADA_CreatePointAUs
for more information, see https://pre-commit.ci
…ssion-to-attains' of https://github.com/USEPA/EPATADA into 960-function-to-create-gis-file-new-point-aus-for-submission-to-attains
bug fix for crosswalking water types
for more information, see https://pre-commit.ci
…-aus-for-submission-to-attains
for more information, see https://pre-commit.ci
…-aus-for-submission-to-attains
…ssion-to-attains' of https://github.com/USEPA/EPATADA into 960-function-to-create-gis-file-new-point-aus-for-submission-to-attains
for more information, see https://pre-commit.ci
…-aus-for-submission-to-attains
…-aus-for-submission-to-attains
for more information, see https://pre-commit.ci
|
This is ready for review - I know everyone is busy so I tagged a few TADA team members as potential reviewers. I'd appreciate a review or two from whoever has time to get to it. This function was primarily designed to facilitate downloading of new point AU geometry to submit to ATTAINS. I verified with @jesseboormanpadgett that currently a shp file is the preferred format for upload to ATTAINS. |
|
Nice PR! Was glad to see some tests included. I'm seeing six functions across 3 R files. Could you provide a quick roadmap type summary of what calls what for what situation? ATTAINSCrosswalks: Geospatial functions: Geospatial utilities: I think that'll help inform/check function:
|
So one example of use in a workflow might be:
Please let me know if you need any additional info! |
|
Spelling check failed. Details: |
closes #960
Added a new function TADA_CreatePointAUGeometry and some helper functions. Made some minor changes to TADA_CrosswalkATTAINSWaterTypes and TADA_CreatePointAUs to facilitate the addition of TADA_CreatePointAUGeometry to the workflow. These new functions will be demonstrated n a future, updated mod 2 workflow vignette.
Next steps will be to create functions to generate the ATTAINS batch upload csvs for Assessment Units and Assessment Units with Monitoring Locations (this can be built off of TADA_CreateATTAINSAUMLCrosswalk).
It would be great to get #964 merged first. Then I can double check that the addition of org_id as a param for TADA_CrosswalkATTAINSWaterTypes does not have any impact on these changes. I do not expect it to.
Pull Request Checklist (convert PR to draft if in progress)
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