vladc / rgeolocate

Generalised IP geolocation through R

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generalised IP geolocation through R

Author: Oliver Keyes
License: MIT
Status: In development

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 my 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.1.0 release, it contains:

  1. A binding to the binary MaxMind databases;
  2. A binding to ip-api.com;
  3. A binding to db-ip.com

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.

Installation

For the development version:

devtools::install_github("ironholds/rgeolocate")

For the 0.1.0 release:

devtools::install_github("ironholds/rgeolocate", ref = "0.1.0")

Dependencies

rgeolocate depends on httr for the bindings to web databases, and libmaxminddb for the MaxMind binary files. You'll need to install those for this to work for you.

About

Generalised IP geolocation through R

License:Other


Languages

Language:C++ 61.5%Language:R 38.5%