geocode | R Documentation |
Geocode address
geocode( flat_number = NULL, number_first = NULL, building_name = NULL, street_name = NULL, street_type = NULL, postcode, attempt_decode_street_abbrev = FALSE, approx = 0L )
flat_number, number_first, street_name, street_type, postcode |
The address to be geocoded. Argument |
building_name |
If |
attempt_decode_street_abbrev |
Should abbreviated street types be decoded during the geocoding attempt? |
approx |
|
A data.table
of three columns and the same number of rows as the longest argument.
geocode(flat_number = NA_character_, number_first = 8L, street_name = "MALVINA", street_type = "PLACE", postcode = 3053L) load(system.file("extdata", "bne_addresses.rda", package = "PSMA")) with(bne_addresses, geocode(flat_number = NA_character_, number_first = house_number, street_name = street_name, street_type = street_type, postcode = postcode))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.