
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
openaq-quality-checker
Advanced tools
OpenAQ Quality Checks is a command line interface for flagging potentially invalid air quality measurements.
Have an OpenAQ data quality concern or experience you would like to share? Please add it to the OpenAQ Community: What is your OpenAQ data quality experience? issue!
nvm use
yarn install
yarn test
openaq-quality-checks expects a list of items, either in json or csv.
A set of default flags are configured in config.yml. The default flags are:
E flags the value -999N flags negative valuesR flags repeating values, grouped by coordinates and ordered by date.This configuration can be overriden using the --config <file.yml> argument, which should point to a yml file which has the following structure:
keyOne: # Arbitrary identifier for the flag, e.g. 'errors'. Useful for merging with the default configuration.
flag: Any string, e.g. E
type: One of exact|set|range|repeats
# Depending on the type, other values may be included. See lib/flagger.js for what can be configured.
keyTwo:
# ...
This configuration is merged with the default configuration, overriding fields that exist and adding fields that do not exist.
Note: Commands below require jq, but jq is just for pretty printing json. If you don't have jq installed, remove the trailing | jq .
cat examples/addis-ababa-20180202.json | quality-check | jq .
# or
quality-check --infile examples/addis-ababa-20180202.json | jq .
cat examples/addis-ababa-20180202.csv | quality-check --input-format csv --output-format csv
# or
quality-check --infile examples/addis-ababa-20180202.csv --input-format csv --output-format csv
quality-check --infile examples/addis-ababa-20180202.json --config tests/test-config.yml | jq .
quality-check --infile examples/addis-ababa-20180202.json --skip N R | jq .
quality-check --infile examples/addis-ababa-20180202.json --remove E | jq .
quality-check --infile examples/addis-ababa-20180202.json --remove-all | jq .
curl 'https://api.openaq.org/v1/measurements?location=US%20Diplomatic%20Post:%20Addis%20Ababa%20School&date_from=2018-02-02&date_to=2018-02-06&limit=10' | jq '.results' | quality-check | jq .
FAQs
CLI for adding flags to OpenAQ data
We found that openaq-quality-checker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.