Returns a tibble with the complete data dictionary for the SIM, including variable descriptions and category labels.
See also
Other sim:
sim_cache_status(),
sim_clear_cache(),
sim_data(),
sim_info(),
sim_variables(),
sim_years()
Examples
sim_dictionary()
#> # A tibble: 56 × 4
#> variable description code label
#> <chr> <chr> <chr> <chr>
#> 1 TIPOBITO Tipo do óbito 1 Fetal
#> 2 TIPOBITO Tipo do óbito 2 Não fetal
#> 3 SEXO Sexo M Masculino
#> 4 SEXO Sexo F Feminino
#> 5 SEXO Sexo I Ignorado
#> 6 RACACOR Raça/cor 1 Branca
#> 7 RACACOR Raça/cor 2 Preta
#> 8 RACACOR Raça/cor 3 Amarela
#> 9 RACACOR Raça/cor 4 Parda
#> 10 RACACOR Raça/cor 5 Indígena
#> # ℹ 46 more rows
sim_dictionary("SEXO")
#> # A tibble: 3 × 4
#> variable description code label
#> <chr> <chr> <chr> <chr>
#> 1 SEXO Sexo M Masculino
#> 2 SEXO Sexo F Feminino
#> 3 SEXO Sexo I Ignorado
sim_dictionary("RACACOR")
#> # A tibble: 5 × 4
#> variable description code label
#> <chr> <chr> <chr> <chr>
#> 1 RACACOR Raça/cor 1 Branca
#> 2 RACACOR Raça/cor 2 Preta
#> 3 RACACOR Raça/cor 3 Amarela
#> 4 RACACOR Raça/cor 4 Parda
#> 5 RACACOR Raça/cor 5 Indígena