The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

locateip

R-CMD-check Codecov test coverage

The goal of locateip is to locate IP addresses using ip-api.com

Installation

For the most recent version, on CRAN:

install.packages("locateip")

You can install the development version of locateip from GitHub:

# install.packages("devtools")
devtools::install_github("clessn/locateip")

Example

library(locateip)

locate_ip("132.203.167.188", fields = c("status,message,country,city"))
#> # A tibble: 1 × 3
#>   status  country city  
#>   <chr>   <chr>   <chr> 
#> 1 success Canada  Québec

Usage

ip-api is free for non-commercial use.

For API documentation and terms of service, see ip-api.com.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.