brazil_state_by_utc() returns a vector with the names of
Brazilian states or abbreviations of Brazilian federal units by the
UTC
offset.
Arguments
- utc
- (optional) An - integerishnumber with the UTC offset. Available choices are- -5,- -4,- -3, or- -2(default:- -3).
- type
- (optional) A - characterstring specifying the type of value to return. Available choices are- "state"or- "fu"(default:- "fu").
Value
A character vector with the names of
Brazilian states or abbreviations of Brazilian federal units.
Details
The data from this function is based on the 2024b dataset (Released 2024-09-04) from the Internet Assigned Numbers Authority (IANA, 2024)
References
Internet Assigned Numbers Authority. (2024). Time zone database (No. 2024b) [Dataset]. https://www.iana.org/time-zones
See also
Other Brazil functions:
brazil_fu(),
brazil_municipality(),
brazil_municipality_code(),
brazil_municipality_coords(),
brazil_municipality_latitude(),
brazil_municipality_longitude(),
brazil_region(),
brazil_region_code(),
brazil_render_address(),
brazil_state(),
brazil_state_capital(),
brazil_state_code(),
brazil_state_latitude(),
brazil_state_longitude()
Examples
brazil_state_by_utc(-3, type = "fu")
#>  [1] "AL" "AP" "BA" "CE" "DF" "ES" "GO" "MA" "MG" "PA" "PB" "PR" "PE" "PI"
#> [15] "RJ" "RN" "RS" "SC" "SP" "SE" "TO"
brazil_state_by_utc(-3, type = "state")
#>  [1] "Alagoas"             "Amapá"               "Bahia"              
#>  [4] "Ceará"               "Distrito Federal"    "Espírito Santo"     
#>  [7] "Goiás"               "Maranhão"            "Minas Gerais"       
#> [10] "Pará"                "Paraíba"             "Paraná"             
#> [13] "Pernambuco"          "Piauí"               "Rio de Janeiro"     
#> [16] "Rio Grande do Norte" "Rio Grande do Sul"   "Santa Catarina"     
#> [19] "São Paulo"           "Sergipe"             "Tocantins"          
