This function lets the user scrap https://db-ip.com/ given IP address(es) to get their associated address type, ASN, ISP, organization, country, state or region, county, city, ZIP postal code, weather station, coordinates, Timezone, local time, languages, and currency.
Usage
ip_data(ip = myip(), quiet = FALSE)
Value
data.frame. Each row is an unique ip
address,
and columns will bee created for all the additional information found.
See also
Other Tools:
autoline()
,
bind_files()
,
bring_api()
,
chr2num()
,
db_download()
,
db_upload()
,
export_plot()
,
export_results()
,
files_functions()
,
font_exists()
,
formatColoured()
,
formatHTML()
,
get_credentials()
,
glued()
,
grepm()
,
h2o_selectmodel()
,
haveInternet()
,
image_metadata()
,
importxlsx()
,
json2vector()
,
list_cats()
,
listfiles()
,
mail_send()
,
markdown2df()
,
move_files()
,
msplit()
,
myip()
,
quiet()
,
read.file()
,
statusbar()
,
tic()
,
try_require()
,
updateLares()
,
warnifnot()
,
what_size()
Other Scrapper:
filesGD()
,
get_mp3()
,
gtrends_related()
,
holidays()
,
readGS()
,
splot_summary()
,
stocks_quote()
Examples
# \donttest{
ip_data("163.114.132.0")
#> id addresstype asn isp connection
#> 1 163.114.132.0 IPv4 54115 - FACEBOOK-CORP Facebook Inc Hosting
#> organization country stateregion city zippostalcode
#> 1 Facebook Corp United States California San Mateo 94497
#> weatherstation coordinates timezone localtime
#> 1 USCA1005 - San Mateo 37.563, -122.326 America/Los_Angeles (UTC-7)
#> languages currency
#> 1 en-US, es-US, haw, fr Dollar (USD)
ip_data(ip = c(myip(), "201.244.197.199"), quiet = TRUE)
#> id addresstype asn
#> 1 40.76.119.6 IPv4 8075 - MICROSOFT-CORP-MSN-AS-BLOCK
#> 2 201.244.197.199 IPv4 19429 - AS19429
#> isp connection country stateregion districtcounty
#> 1 Microsoft Corporation Hosting United States Virginia Rappahannock
#> 2 ETB - Colombia <NA> Colombia Bogota D.C. Bogotá D.C.
#> city zippostalcode weatherstation coordinates
#> 1 Washington 22747 USVA0810 - Washington 38.7134, -78.1591
#> 2 Bogotá <NA> COXX2421 - Los Martires 4.60971, -74.0817
#> timezone localtime languages currency
#> 1 America/New_York (UTC-4) en-US, es-US, haw, fr Dollar (USD)
#> 2 America/Bogota (UTC-5) es-CO Peso (COP)
#> hostname
#> 1 <NA>
#> 2 dynamic-201-244-197-199.dynamic.etb.net.co
# }