Convert a `routeviews` data frame to a trie

as_asntrie(x, ...)

Arguments

x

a `routeviews` data frame read in with [routeviews_current()] or [parse_routeviews()]

...

ignored (for now)

Value

an `routeviews_asntrie`

Examples

# NOT RUN {
rv_df <- routeviews_latest()
rv_trie <- as_asntrie(rv_df)
iptools::ip_to_asn("174.62.167.97", rv_trie)
# }