Nicola Ruggiero
2019-May-05 21:11 UTC
[R] R package that translates zip codes into longitude and longitude
Hi there, I'm looking for a R package that would enable me to add a column to a data.frame that is itself a translation of zip codes into longitude and latitude. The column in the data.frame looks like this [begin quote]: waltham, Massachusetts 02451 Columbia, SC 29209 Wheat Ridge , Colorado 80033 Charlottesville, Virginia 22902 Fairbanks, AK 99709 Montpelier, VT 05602 Dobbs Ferry, New York 10522 Henderson , Kentucky 42420 [end quote:] The spaces represent absences in the column. Regardless, I'm told that there is such an R package. I'm just having trouble locating it on Google. Warmly, Nicola
Jim Lemon
2019-May-06 10:31 UTC
[R] R package that translates zip codes into longitude and longitude
Hi Nicola, There seems to be a big database of this here: http://download.geonames.org/export/dump/ Jim On Mon, May 6, 2019 at 2:47 PM Nicola Ruggiero <nicola.ruggiero.unt at gmail.com> wrote:> > Hi there, > > I'm looking for a R package that would enable me to add a column to a > data.frame that is itself a translation of zip codes into longitude > and latitude. The column in the data.frame looks like this [begin > quote]: > > waltham, Massachusetts 02451 > Columbia, SC 29209 > > Wheat Ridge , Colorado 80033 > Charlottesville, Virginia 22902 > Fairbanks, AK 99709 > Montpelier, VT 05602 > Dobbs Ferry, New York 10522 > > Henderson , Kentucky 42420 > > [end quote:] The spaces represent absences in the column. Regardless, > I'm told that there is such an R package. I'm just having trouble > locating it on Google. > > Warmly, > Nicola > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
Nicola Ruggiero
2019-May-07 00:40 UTC
[R] R package that translates zip codes into longitude and longitude
I found this package "zipcode", by Jeffry Breen (http://www.jeffreybreen.com/code/). Does anyone have experience working with this one? And do you think it would help with my data, such as I exemplified it in my previous post to the listserv? His blog looks good (https://datamatters.blog/2011/01/05/cran-zipcode/). And this, too, was written about it (https://blog.exploratory.io/geocoding-us-zip-code-data-with-dplyr-and-zipcode-package-7f539c3702b0). Warmly, Nicola On Mon, May 6, 2019 at 3:32 AM Jim Lemon <drjimlemon at gmail.com> wrote:> > Hi Nicola, > There seems to be a big database of this here: > > http://download.geonames.org/export/dump/ > > Jim > > On Mon, May 6, 2019 at 2:47 PM Nicola Ruggiero > <nicola.ruggiero.unt at gmail.com> wrote: > > > > Hi there, > > > > I'm looking for a R package that would enable me to add a column to a > > data.frame that is itself a translation of zip codes into longitude > > and latitude. The column in the data.frame looks like this [begin > > quote]: > > > > waltham, Massachusetts 02451 > > Columbia, SC 29209 > > > > Wheat Ridge , Colorado 80033 > > Charlottesville, Virginia 22902 > > Fairbanks, AK 99709 > > Montpelier, VT 05602 > > Dobbs Ferry, New York 10522 > > > > Henderson , Kentucky 42420 > > > > [end quote:] The spaces represent absences in the column. Regardless, > > I'm told that there is such an R package. I'm just having trouble > > locating it on Google. > > > > Warmly, > > Nicola > > > > ______________________________________________ > > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > > and provide commented, minimal, self-contained, reproducible code.