Learn R Programming

owdbr (version 1.0.1.1)

uflist: All the State's UF Codes.

Description

Returns a tibble which contains the IBGE identification code of each one of all 23 UFs (Units of the Federation) in Brazil.

Usage

uflist(region = NA)

Arguments

region

filter the UFs (Units of the Federation or States) by geographical region. If NA, all state are shown. According to the Brazilian Institute of Geography and Statistics, the country is divided in 5 regions: "Norte", "Nordeste", "Centro-Oeste", "Sul" and "Sudeste".

Value

a tibble with 3 columns.

State

The full name of the state.

UF

The abbreviation of the state's name.

num

The identification number of the state.

region

Region of the country in which the State is located.

References

Source: IBGE (Brazilian Institute of Geography and Statistics)

Examples

Run this code
# NOT RUN {
uflist(reg = NA) # show all states of the country.
uflist(region = "Sul") # only exhibit States in the 'Sul' region of the country.
# }

Run the code above in your browser using DataLab