Title: | Lookup for IP Address Information |
---|---|
Description: | Enables the user to find the country, region, district, city, coordinates, zip code, time zone, ISP, domain name, connection type, area code, weather, MCC, MNC, mobile brand name, elevation, usage type, address type, IAB category and ASN that any IP address or hostname originates from. Supported IPv4 and IPv6. Please visit <https://www.ip2location.com> to learn more. You may also want to visit <https://lite.ip2location.com> for free database download. This package requires 'IP2Location Python' module. At the terminal, please run 'pip install IP2Location' to install the module. |
Authors: | Kai Wen Ooi |
Maintainer: | Kai Wen Ooi <[email protected]> |
License: | MIT + file LICENSE |
Version: | 8.1.3 |
Built: | 2025-02-20 03:29:08 UTC |
Source: | https://github.com/ip2location/ip2location-r |
Find the country, region, district, city, coordinates, zip code, ISP, domain name, timezone, connection speed, IDD code, area code, weather station code, weather station name, mobile, usage type, address type, IAB category and ASN that any IP address or host name originates from. The return values will be depending on the BIN data loaded.
get_all(ip)
get_all(ip)
ip |
IPv4 or IPv6 address |
Return all information about the IP address
## Not run: get_all("8.8.8.8") ## End(Not run)
## Not run: get_all("8.8.8.8") ## End(Not run)
Load the IP2Location BIN data for lookup. Free IP2Location LITE data available for download at <https://lite.ip2location.com/>
open(bin_location)
open(bin_location)
bin_location |
Absolute path of IP2Location BIN data |
## Not run: open("~/IP-COUNTRY.BIN") ## End(Not run)
## Not run: open("~/IP-COUNTRY.BIN") ## End(Not run)
Plot the country on the map based on IP addresses and its IP2Location country data.
plot_map(ips)
plot_map(ips)
ips |
A vector of IP addresses to be plot on |
## Not run: plot_map(c("8.8.8.8", "8.8.6.6")) ## End(Not run)
## Not run: plot_map(c("8.8.8.8", "8.8.6.6")) ## End(Not run)