Description Usage Arguments Value Examples
Convert IP address to location (country name, region, city, zip code, latitude, longitude, and GMT)
1 | IP_location(IP.address, IP.database = NULL)
|
IP.address |
a character or factor vector of one or more IP addresses |
IP.database |
an IP database, see |
Returns a data.frame containin the country name, region, city, and
zip code corresponding to IP.address
1 2 3 4 5 | # Only run this example in interactive R sessions
if(interactive()) {
IP.location = IP_location(IPs)
head(IP.location)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.