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 REGULAR PM2.5 IMECA 56 #> 3 BJU Benito Juárez BUENA O3 IMECA 33 #> 4 CAM Azcapotzalco REGULAR PM10 IMECA 86 #> 5 CCA Coyoacán REGULAR PM2.5 IMECA 63 #> 6 CUA Cuajimalpa BUENA PM10 IMECA 49 #> 8 GAM Gustavo A. Madero REGULAR PM10 IMECA 77 #> datetime #> 2 2019-03-29 20:00:00 #> 3 2019-03-29 20:00:00 #> 4 2019-03-29 20:00:00 #> 5 2019-03-29 20:00:00 #> 6 2019-03-29 20:00:00 #> 8 2019-03-29 20:00:00