EPATADA icon indicating copy to clipboard operation
EPATADA copied to clipboard

Query all data within tribal land boundary

Open cristinamullin opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe.

Tribes need to be able to download all data within their tribal boundary. Currently, this is not possible with the available WQP filters.

Describe the solution you'd like

Use EPA tribal land boundary service to get WQP station IDs within the boundary, then query the WQP to get all sites within the boundary. A new function input could be added to TADA_DataRetrieval in DataDiscoveryRetrieval.R to facilitate this (e.g. tribalBoundary = "FondduLac"). Meaning, the user selects the tribal name, and the resulting df would include only WQP sites that are within their tribal land boundary.

Describe alternatives you've considered

Find another way to do this, or ask the WQP team if we can do it in FY24 (unlikely).

Additional context

The HMW is interested in facilitating this as well. [9/28 1:32 PM] Brad Cooper WATERS/RAD (a little behind "processing schedule") has a copy of all WQP locations, we could use that EPA WQP service and do the query to get a list of station ids and then use those station ids to formulate the WQP data download web service call.

https://www.epa.gov/geospatial/guidance-using-tribal-boundaries-areas-and-names-resources

Reminders for TADA contributors addressing this issue

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).

cristinamullin avatar Oct 05 '23 18:10 cristinamullin