Skip to contents

Generic processor for any UF-level VIGIAR data.

Usage

process_ufs(dados, contexto = "uf")

Arguments

dados

Raw data frame.

contexto

Description of the data context.

Value

A vigiar_tbl.

Examples

bruto <- data.frame(UF = "RJ", ano = 2022L, valor = 10)
process_ufs(bruto)
#> # VIGIAR tibble: uf  |  1 linhas x 3 colunas
#> # Processado em: 2026-10-10 15:44:31
#> 
#> # A tibble: 1 × 3
#>   sigla_uf   ano valor
#>   <chr>    <int> <dbl>
#> 1 RJ        2022    10