ip_history.Rd
Retrieve IP ASN advertisement history
ip_history(ip, source = c("caida", "ripe_rrc00"), address_family = c("v4", "v6"), date = NULL, first = NULL, last = NULL, precision_delta = NULL, ip_asn_history_endpoint = "https://bgpranking-ng.circl.lu/ipasn_history/")
ip | (required) IP to lookup |
---|---|
source | (optional) Source to query (defaults to 'caida') - currently, supports CAIDA & RIPE NCC sources |
address_family | (optional) |
date | (optional) Exact date to lookup (defaults to most recent available). Can be a date-y/time-y-ish R object or a "YYYY-mm-dd" string |
first, last | (optional) First/last date in the interval. Same value format restrictions as |
precision_delta | (optional) Max delta allowed between the date queried and the one we have in the database.
Use |
ip_asn_history_endpoint | supply or your own or use the default circl.lu server provided. |
If you want to resolve more than 1000 IPs, use mass_cache()
and mass_query()
# NOT RUN { ip_history("146.185.222.49") ip_history("146.185.222.49", first="2018-11-01", last="2018-11-25") # }