brazil_render_address() returns a vector with formatted Brazilian
addresses.
Note: This function requires the glue
package to be installed.
Usage
brazil_render_address(
street = NA_character_,
complement = NA_character_,
neighborhood = NA_character_,
municipality = NA_character_,
state = NA_character_,
postal_code = NA_character_
)Arguments
- street
(optional) A
charactervector with the street names (default:NA_character).- complement
(optional) A
charactervector with the complement of the address (default:NA_character).- neighborhood
(optional) A
charactervector with the neighborhood names (default:NA_character).- municipality
(optional) A
charactervector with the name of the municipalities (default:NA_character).- state
(optional) A
charactervector with the name of the states (default:NA_character).- postal_code
(optional) A
charactervector with the postal codes (default:NA_character).
Value
A character vector with the formatted address.
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_state(),
brazil_state_by_utc(),
brazil_state_capital(),
brazil_state_code(),
brazil_state_latitude(),
brazil_state_longitude()
Examples
brazil_render_address(
street = c("Viaduto do Chá, 15", "Alameda Ribeiro da Silva, 919"),
complement = c("", "Ap. 502"),
neighborhood = c("Centro", "Campos Elíseos"),
municipality = c("São Paulo", "São Paulo"),
state = c("SP", "SP"),
postal_code = c("01002-020", "01217-010")
)
#> [1] "Viaduto do Chá, 15, Centro, São Paulo-SP, 01002-020, Brasil"
#> [2] "Alameda Ribeiro da Silva, 919, Ap. 502, Campos Elíseos, São Paulo-SP, 01217-010, Brasil"
