Check the air quality
Use “Check the air quality” in Recued. Pollutants and both headline air-quality indices for a place you name, with the band each number falls in and the pollutant that is actually driving it.
How it works
Inspect the data fetches, transforms, gates, and output this recipe runs.
Process (34 steps)
wanted
trim
Trim whitespace from setting place
wanted_required
template
Generate text from a template
fail: step.wanted is_empty
geocode
?
hits
default
Apply default
hit_count
count
Count items in hits
top
default
Apply default
resolved
default
Apply default
resolved_required
template
Generate text from a template
fail: step.resolved is_empty
lat
to_number
Convert top lat to a number
lon
to_number
Convert top lon to a number
air
?
defaults
defaults
Apply defaults
aqi_required
template
Generate text from a template
fail: step.usaqi is_null
eu_edges
default
Apply default
eu_passed
filter
Filter by condition
eu_over
count
Count items in eu passed
eu_band
switch
Map eu over to one of: 0, 1, 2, 3, 4, 5
us_edges
default
Apply default
us_passed
filter
Filter by condition
us_over
count
Count items in us passed
us_band
switch
Map us over to one of: 0, 1, 2, 3, 4, 5
us_subs
default
Apply default
us_rows
to_list
Apply to_list
driver
max_by
Find the maximum by value
pollen_now
default
Apply default
pollen_rows_raw
default
Apply default
pollen_rows
filter
Filter by condition
pollen_count
count
Count items in pollen rows
card
to_summary
Format results as a summary card
pollen_table
to_table
Format results as a data table
scales_note
template
Generate text from a template
window_note
template
Generate text from a template
pollen_absent
template
Generate text from a template
skip: step.pollen_count greater 0
ambiguity
template
Generate text from a template
skip: step.hit_count less 2
Settings
Configurable at install. Defaults shown — change them anytime in Recued.
place
setting
=
nominatim
setting
=
air quality
setting
=
Trust & control
What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.