Learn R Programming

locateip

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.

Copy Link

Version

Install

install.packages('locateip')

Monthly Downloads

178

Version

0.1.2

License

MIT + file LICENSE

Maintainer

Judith Bourque

Last Published

June 6th, 2023

Functions in locateip (0.1.2)

locate_ip

Locate an IP adress
locateip-package

locateip: Locate IP Addresses with 'ip-api'