addrListLookup: addrListLookup

Description Usage Arguments Value Author(s) See Also Examples

View source: R/addrListLookup.R

Description

This function runs a list through the geoAddress function for geocoding.

Usage

1

Arguments

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.

Value

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

Author(s)

Randall Shane, PhD
rshane@basexvi.com

See Also

geoAddress, geoPlot

Examples

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)

RandallShanePhD/geoPlot documentation built on May 18, 2019, 1:34 p.m.