Skip to contents

TADA Leverages the Water Quality eXchange (WQX) QAQC Service

This is a overview of the the WQX Quality Assurance and Quality Control (QAQC) data submission service, and how TADA leverages that service to flag potentially suspect data in the Water Quality Portal (WQP). It will cover: 1) an overview of all available WQX QAQC tests for data submissions, 2) which of these QAQC tests are also available in TADA for flagging potentially suspect WQP data, and 3) how to interpret and provide feedback on the validation reference tables referenced by WQX and TADA for this QAQC service.

Background

The WQX expectation for submissions is that users submit only QAQC’d data and utilize WQX elements to ensure the data is of “documented quality”. The WQX team has historically hosted data quality working groups aimed at creating best practices and required data elements for WQX 3.0 for specific parameter groups such as nutrients, metals and biological data. These resources have supported users to submit data of documented quality. This approach has been broadly successful, but because it is not an enforceable approach it has allowed for data of varying quality to be shared. In response, the WQX team recently released a QAQC service in 2022 to test and flag data submissions for potential errors, and provide the data submitter with a chance to make edits to improve the quality of their data, before it goes into the WQP. However the new WQX services will not flag or fix data historical that is already in the WQP. Therefore, the TADA R package leverages the WQX QAQC Validation Reference tables in the R package to make these same tests available on WQP outbound data using R.

Available Tests

Tests available in both WQX Web for data submissions & the TADA R Package for use with data retrieved from the WQP:

  • Tests that Leverage the WQX Validation Table

    • Flag suspect characteristic and unit combinations (e.g., flag data if mg/L or °C was used for pH; flag if units were left blank, NA, None, etc. but are required for the characteristic)

    • Flag data without methods, with uncommon methods, or with suspect methods for the characteristic. This is contingent on the activity type since some activity types don’t require methods.

    • Flag data with suspect characteristic and fraction combinations

    • Flag data with suspect characteristic and speciation combination

    • Flag results that do not have an approved QAPP and/or do not include a QAPP attachment

    • Flag results above or below national thresholds using the Interquartile Range (IQR) method. The IQR method is defined as the difference between the 75% percentile and the 25% percentile of your dataset.

[Boxplot](https://en.wikipedia.org/wiki/Boxplot “Boxplot”) (with an interquartile range) and a [probability density function](https://en.wikipedia.org/wiki/Probability_density_function “Probability density function”) (pdf) of a Normal N(0,σ2) Population. Attribution: Jhguch at en.wikipedia, [CC BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/), via Wikimedia Commons.

Additional tests only available in WQX Web and Node Submissions (for now):

  • Location

    • Flag data where accuracy of lat/long is less than three three decimal degrees (e.g., 38.88°, -77.00°)

    • Flag data where the lat/long assigned to monitoring sites is NOT in the state and country included in metadata

    • Flag if monitoring locations nearby each other are likely the same based on three decimal degrees precision. Includes two flags - one within your org and one national (across all orgs). If they are, then provide user an option to use the existing monitoring location instead of creating a new one [expand here].

Providing Feedback on Validation Tables

All WQX Domain Tables are available HERE. TADA leverages many of the WQX domain tables.

All TADA Reference and Validation Tables are also available in the R Package HERE. TADA pulls the WQX Validation Table and other domain tables into TADA and updates them automatically whenever changes are made

WQX and TADA users can review and provide feedback on the validation table and/or target units assigned, and provide feedback by emailing the WQX helpdesk (WQX@epa.gov).