If you don't want asnames_current() and [read_asnames())] to manage asnames.txt files for you, you can use this function to parse asnames.txt files you've downloaded and manage via other means.

[read_asnames())]: R:read_asnames())

parse_asnames(as_fil)

Arguments

as_fil

path to an asnames.txt file. path.expand() will be run on this value

Value

data frame (tibble) with "asn", "handle", "asinfo", "iso2c"

References

https://bgp.potaroo.net/as6447/asnames.txt

See also

asnames_current

read_asnames

Examples

# NOT RUN {
   parse_asnames("/tmp/asnames.txt")
# }