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.

See also

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           aceptable "O3,PM2.5" IMECA    NA 2026-03-04 19…
#> 2 BJU          Benito Juárez     sin datos ""         IMECA    NA 2026-03-04 19…
#> 3 CAM          Azcapotzalco      sin datos ""         IMECA    NA 2026-03-04 19…
#> 4 CCA          Coyoacán          aceptable "O3,PM2.5" IMECA    NA 2026-03-04 19…
#> 5 CUA          Cuajimalpa        sin datos ""         IMECA    NA 2026-03-04 19…
#> 6 GAM          Gustavo A. Madero aceptable "PM25"     IMECA    NA 2026-03-04 19…
# }