Collect Metadata on 'IP' Addresses and Autonomous Systems
The 'ipinfo.io' https://ipinfo.io/ service provides an 'API' for retrieving metadata on 'IP' addresses and autonomous systems. Methods are provided to query and retrieve this metadata.
The following functions are implemented:
country_trans
: Retrieve a data frame of country abbreviation to name mappingsquery_asn
: Retrieve full ASN detailsquery_ip
: Retrieve full IP detailsdevtools::install_github("hrbrmstr/ipinfo")
options(width=120) library(dplyr)
library(ipinfo) # current verison packageVersion("ipinfo")
str( query_ip("1.1.1.1"), 1 )
I do not have a paid plan for this so I cannot test it
country_trans()
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.