Skip to contents

A small synthetic dataset representing PM2.5 annual averages for 5 municipalities in Rio de Janeiro state (2020-2022). Used for examples, tests, and vignettes without requiring an internet connection or Power BI session.

Usage

pm25_rj_sample

Format

A tibble::tibble() with S3 classes vigiar_pm25 and vigiar_tbl, 15 rows and 7 columns:

cod_municipio

IBGE municipality code (6-digit integer)

ano

Year of measurement (2020-2022)

pm25_media_anual

Annual average PM2.5 concentration (ug/m3)

sigla_uf

State abbreviation ("RJ")

pm25_categoria

OMS PM2.5 category (factor)

latitude

Approximate latitude (decimal degrees)

longitude

Approximate longitude (decimal degrees)

Source

Synthetic data generated for package examples.

Examples

data(pm25_rj_sample)
summary(pm25_rj_sample)
#> Resumo: df_anual
#> -------------------------------------------------- 
#> Linhas:  15
#> Colunas: 7
#> Classes: vigiar_pm25, vigiar_tbl, tbl_df, tbl, data.frame
print(pm25_rj_sample)
#> # VIGIAR tibble: df_anual  |  15 linhas x 7 colunas
#> 
#> # A tibble: 15 × 7
#>    cod_municipio   ano pm25_media_anual sigla_uf pm25_categoria      latitude
#>            <int> <int>            <dbl> <chr>    <fct>                  <dbl>
#>  1        330170  2022              9.5 RJ       OMS-2021 (5-10)        -22.8
#>  2        330170  2020              8.5 RJ       OMS-2021 (5-10)        -22.8
#>  3        330170  2021              9.4 RJ       OMS-2021 (5-10)        -22.8
#>  4        330330  2022             10.9 RJ       OMS-interim (10-15)    -22.9
#>  5        330330  2021              8.6 RJ       OMS-2021 (5-10)        -22.9
#>  6        330330  2020             11.9 RJ       OMS-interim (10-15)    -22.9
#>  7        330350  2021             11.8 RJ       OMS-interim (10-15)    -22.8
#>  8        330350  2022             10.9 RJ       OMS-interim (10-15)    -22.8
#>  9        330350  2020             11.3 RJ       OMS-interim (10-15)    -22.8
#> 10        330455  2020             13   RJ       OMS-interim (10-15)    -22.9
#> 11        330455  2021              4.5 RJ       OMS-2021 (< 5)         -22.9
#> 12        330455  2022             10.4 RJ       OMS-interim (10-15)    -22.9
#> 13        330490  2020              9.6 RJ       OMS-2021 (5-10)        -22.8
#> 14        330490  2021             10.2 RJ       OMS-interim (10-15)    -22.8
#> 15        330490  2022              4.4 RJ       OMS-2021 (< 5)         -22.8
#> # ℹ 1 more variable: longitude <dbl>