Skip to contents

Download the latest hourly values for the pollutants with the highest values for each station as measured in IMECAs

Usage

get_latest_imeca()

Value

A data.frame with pollution air quality, the hours are in the America/Mexico_City timezone

Details

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.

Examples

# \donttest{
df <- get_latest_imeca()
head(df)
#> # A tibble: 6 × 7
#>   station_code municipio         quality   pollutant unit  value datetime       
#>   <chr>        <chr>             <chr>     <chr>     <chr> <int> <chr>          
#> 1 AJM          Tlalpan           mala      O3        IMECA    NA 2026-06-26 17:…
#> 2 BJU          Benito Juárez     mala      O3        IMECA    NA 2026-06-26 17:…
#> 3 CAM          Azcapotzalco      aceptable O3,PM2.5  IMECA    NA 2026-06-26 17:…
#> 4 CCA          Coyoacán          mala      O3        IMECA    NA 2026-06-26 17:…
#> 5 CUA          Cuajimalpa        mala      O3        IMECA    NA 2026-06-26 17:…
#> 6 GAM          Gustavo A. Madero aceptable O3        IMECA    NA 2026-06-26 17:…
# }