Description Usage Arguments Value Author(s) See Also Examples
View source: R/addrListLookup.R
This function runs a list through the geoAddress function for geocoding.
1 |
x |
A data frame containing: id, address, city, state/province, postal and country. The id is simply an identifier. The remaining address elements do not have to be universally populated. A concatenation of the vector elements occurs but the input specification is only rigid in that an id field and 4 elements are needed. |
The returned value is a data frame containing the elements: id, address, latitude, longitude (both point coordinates).
id |
User defined identifier. This can be arbitrary |
address |
Concatenated address data. |
latitude |
latitude |
longitude |
longitude |
Randall Shane, PhD
rshane@basexvi.com
1 2 3 4 5 6 7 8 9 | id <- c('96600016','96600021','96600022','96600025','96600026')
address <- c('537 LINDEN AVENUE','4163 KENWOOD PLACE',
'4670 POINTE LANE','4077 MARIGOLD LANE','193 MULBERRY LANE')
city <- c('ORLANDO','JUPITER','POMPANO BEACH','MIAMI','JUPITER')
stateprov <- c('FL','FL','FL','FL','FL')
postal <- c('32805','33478','33060','33179','33458')
country <- c('US','US','US','US','US')
x <- data.frame(id,address,city,stateprov,postal,country)
addrListLookup(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.