render_brazil_address()
returns a vector with formatted Brazilian
addresses.
Usage
render_brazil_address(
street = NA_character_,
complement = NA_character_,
neighborhood = NA_character_,
municipality = NA_character_,
state = NA_character_,
postal_code = NA_character_
)
Arguments
- street
(optional) A
character
vector with the street names (default:NA_character
).- complement
(optional) A
character
vector with the complement of the address (default:NA_character
).- neighborhood
(optional) A
character
vector with the neighborhood names (default:NA_character
).- municipality
(optional) A
character
vector with the name of the municipalities (default:NA_character
).- state
(optional) A
character
vector with the name of the states (default:NA_character
).- postal_code
(optional) A
character
vector with the postal codes (default:NA_character
).
Value
A character
vector with the formatted address.
See also
Other Brazil functions:
get_brazil_fu()
,
get_brazil_municipality()
,
get_brazil_municipality_code()
,
get_brazil_region()
,
get_brazil_region_code()
,
get_brazil_state()
,
get_brazil_state_by_utc()
,
get_brazil_state_capital()
,
get_brazil_state_code()
,
get_brazil_state_latitude()
,
get_brazil_state_longitude()
Examples
render_brazil_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"