[R] Distance in miles btw Zipcodes
Farnoosh Sheikhi
farnoosh_81 at yahoo.com
Fri Sep 18 00:36:05 CEST 2015
Hello,
I'm trying to get the distances between two Zipcode variables, but for some reason I get this error:
"matching was not perfect, returning what was found.Error: no such index at level 1"
Here is my code:
library(ggmap)mapdist(data$Zip.A, data$Zip.B, mode = "driving")
The Zip codes are all in 5 digits format.I really appreciate any help or suggestion.Thanks.
[[alternative HTML version deleted]]
More information about the R-help
mailing list