-
Notifications
You must be signed in to change notification settings - Fork 18
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
Update TADA_FindNearbySites flag column TADA_MonitoringLocationID #292
Comments
Copying comments from previous PR so easier to find for this issue:
|
Update: Default behavior: |
On our 5/23/24 call we decided to use the json array to concatenate the monitoringlocationID's to be consistent with the way the WQX 3.0 profiles will be serving 1-to-manys in the new profiles (coming later this year). Example: I created a separate issue for this: #463 |
@renaemyers all other topics related to this issue are now addressed elsewhere. This issue can be closed once your edits to TADA_FindNearbySites are merged, with the concatenation format you already showed today for the IDs. Any edits to the formatting (JSON array) and dev of the new function for parsing it can wait until the WQX 3.0 profiles are more finalized: #463 |
The current TADA.NearbySiteGroups column is being replaced by a new different column TADA_MonitoringLocationID in this issue. Whenever we change existing functions in the TADA package, we need to review the package and R shiny app to see if and where else (within what other functions) the edited function is used and update those as well if needed so they don't break/bug. A quick search of the package (click edit tab at top of R studio console, click "Find in Files", and search for all references to TADA.NearbySiteGroups column in package and/or references to the TADA_FindNearbySites function) shows that TADA.NearbySiteGroups is leveraged in:
This function should be updated and tested to use the new column (TADA_MonitoringLocationID) instead of the old (TADA.NearbySiteGroups), and to ensure it works with the update made as as part of this issue. The shiny app does not include the TADA_FindNearbySites function yet so no updates needed there. You'll notice that TADA_CalculateTotalNP in Transformations.R mentions the TADA_FindNearbySites function (lines 233 and 319) but it is not directly used. This function should be updated as well but it can happen as part of a separate PR/issue because it will not cause any breaking changes. See related issue: #475 |
See remaining discussion points and questions here: #283
The text was updated successfully, but these errors were encountered: