projectLatLon: Project Latitude Longitude

Description Usage Arguments Value Examples

View source: R/geoprojection.R

Description

Given lat lon coordinates, finds the nearest record in geolookup

Usage

1
  projectLatLon(latlon)

Arguments

latlon

a numeric matrix where the first column is the latitude and the second column is the longitude

Value

a data table with columnz zip, lat, lon, city, state, county

Examples

1
2
latlon = data.frame(lat = c(40,51), lon = c(-120, -59))
 projectLatLon(latlon)

jeffwong/GeoProjection documentation built on May 19, 2019, 4:02 a.m.