Download the latest hourly values for the pollutants with the highest values for each station as measured in IMECAs
A data.frame with pollution values in IMECAs, the hour corresponds to the America/Mexico_City timezone (which changes with daylight saving time)
Note that in 2015 it was determined that the stations with codes ACO, AJU, INN, MON and MPA would no longer be taken into consideration when computing the pollution index because they didn't meet the objectives of monitoring air quality, and are no longer included in the index, even if they are still part of the SIMAT (Sistema de Monitoreo Atmosférico de la Ciudad de México). Thus, even if they are located inside a zone, they are not included in the pollution values for that zone.
df <- get_latest_imeca() head(df)#> station_code municipio quality pollutant unit value #> 2 AJM Tlalpan MANTENIMIENTO IMECA NA #> 3 BJU Benito Juárez BUENA NO2 IMECA 21 #> 4 CAM Azcapotzalco MANTENIMIENTO IMECA NA #> 5 CCA Coyoacán REGULAR PM2.5 IMECA 76 #> 6 CUA Cuajimalpa REGULAR PM10 IMECA 51 #> 8 GAM Gustavo A. Madero MALA PM10 IMECA 102 #> datetime #> 2 2019-02-06 06:00:00 #> 3 2019-02-06 06:00:00 #> 4 2019-02-06 06:00:00 #> 5 2019-02-06 06:00:00 #> 6 2019-02-06 06:00:00 #> 8 2019-02-06 06:00:00