Learn R Programming

IPtoCountry (version 0.0.1)

IP_lookup_full: Match IP integer to all location data

Description

Match IP integer to all location data

Usage

IP_lookup_full(IP.integer, IP.database = NULL)

Arguments

IP.integer
a character or factor vector of one or more IP addresses
IP.database
an IP database, see ?ip2location for details on default database from http://lite.ip2location.com

Value

Returns country from IP integers

Examples

Run this code
if(interactive()) {
  IP.integer <- IP_integer(IPs)
  head(IP_lookup_full(IP.integer))
}

Run the code above in your browser using DataLab