rgeolocate v1.0.1


Monthly downloads



IP Address Geolocation

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.


Generalised IP geolocation through R

Author(s: Oliver Keyes, Drew Schmidt
License: Apache 2.0
Status: Stable
Current release: 1.0.1

Travis-CI Build Status CRAN_Status_Badge downloads

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:

  1. A binding to the binary MaxMind databases;
  2. Wrappers around multiple online geolocation services (see the vignette for more)

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.

Functions in rgeolocate

Name Description
rgeolocate IP Geolocation in R
db_ip Geolocate IP Addresses Through db-ip.com
ip2location Geolocate IP Addresses through IP2Location Databases
ip_api Geolocate IP Addresses Through ip-api.com
maxmind Geolocate IP Addresses through MaxMind Databases
No Results!

Vignettes of rgeolocate

No Results!

Last month downloads


Type Package
Date 2017-08-02
Copyright MaxMind, Inc. for the underlying libmaxmminddb library, IP2Location.com for libip2location, and the package authors for all other content.
License Apache License (== 2.0)
BugReports https://github.com/ironholds/rgeolocate/issues
LinkingTo Rcpp
VignetteBuilder knitr
RoxygenNote 6.0.1
NeedsCompilation yes
Packaged 2017-08-02 10:35:02 UTC; ironholds
Repository CRAN
Date/Publication 2017-08-02 12:49:48 UTC

Include our badge in your README