Determine the state of a given CEP postal code
Zips codes in Brazil are known as CEP, the abbreviation for postal code address.
CEPs in Brazil are 8 digits long, with the format 'xxxxx-xxx'
.
cep_to_state(cep)
cep |
A numeric string with 8 digits in the format |
A character string with a state abbreviation
uf <- cep_to_state(cep = '69900-000') # Or: uf <- cep_to_state(cep = 69900000)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.