Description Usage Arguments Examples
as in the lubridate package, individual components of an address can be extracted using the relevant function call - see the examples.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | house(x)
house_number(x)
road(x)
suburb(x)
city_district(x)
city(x)
state_district(x)
state(x)
postal_code(x)
country(x)
|
x |
an address, or vector of addresses |
1 2 3 4 5 6 | #Get a component
## Not run:
example_address <- "The Deaconage, 781 Franklin Ave Crown Heights Brooklyn NYC NY 11216 USA"
house(example_address)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.