Connectors to online and offline sources for taking IP addresses and geolocating them to country, city, timezone and other geographic ranges. For individual connectors, see the package index.
Author(s: Oliver Keyes, Drew Schmidt
License: Apache 2.0
Current release: 1.0.1
IP geolocation is a powerful tool to have if you're dealing with web data, and there are a couple of R packages that provide access to specific services, such as the legacy rgeoip package or Bob Rudis's ipapi. They're all spread about and have diffing interfaces, styles and requirements.
rgeolocate aims to be a single generalised package for geolocation; if you have a source you'd like to pull from, the
goal is that
rgeolocate will provide a binding to it. As of the 0.8.0 release, it contains:
If you have other bindings you'd like to see, open a request!
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
For the latest CRAN release:
For the development version:
rgeolocate depends on httr for the bindings
to web databases; other than that, just base R! Thanks to the work of Drew Schmidt,
rgeolocate includes the underlying
binary libraries and their dependencies.
NEW FEATURES *rgeolocate now works on Windows thanks to the work of Drew Schmidt.
DEVELOPMENT *libmaxminddb is now included, making the code self-contained. *Unit tests are fixed to avoid unintended external dependencies.
NEW FEATURES *Support for freegeoip.net *Support for telize.com
DEVELOPMENT *add extern "C" to make the package more easily installable.
Initial release. Support for MaxMind's binary databases, db-ip.com and ip-api.com