0

I have been trying to convert this column into city names. I followed some potential solutions I found online, however, some of the packages (e.g., "rgeolocate") they used were not downloadable anymore.

Anyone has any suggestions? You will really be my life saver!

This is packages I found but didn't work out:

`##ip 
install.packages("iptools")
install.packages("rgeolocate")#not available 
install.packages("ggalt")
ilter(world_map, region != "Antarctica")`
  • Have you tried the package `ip2location` ? – G5W Feb 14 '23 at 23:23
  • Looks like `rgeolocate` has been [archived](https://cran.r-project.org/web/packages/rgeolocate/index.html). You can install an archived version: https://stackoverflow.com/a/24194531/12400385 – nniloc Feb 15 '23 at 00:41

1 Answers1

0

Have you try to use IP2Location R package(https://github.com/ip2location/ip2location-r)?

something like:

ip2location::open('IP2Location_BIN_Database')
ip2location::get_all("8.8.8.8")
ooi18
  • 130
  • 2
  • 5