Tools to work with the Google DNS over HTTPS API in R
https://cinc.rud.is/web/packages/gdns/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
409 B
15 lines
409 B
преди 6 години
|
library(rvest)
|
||
|
library(tidyverse)
|
||
|
|
||
|
read_html("https://en.wikipedia.org/wiki/List_of_DNS_record_types") %>%
|
||
|
html_node(xpath=".//table[contains(., 'Address record')]") %>%
|
||
|
html_table() %>%
|
||
|
tbl_df() %>%
|
||
|
janitor::clean_names() %>%
|
||
|
select(type=2, name=1, description=4, purpose=5) %>%
|
||
|
filter(name != "ALIAS") %>%
|
||
|
mutate(type = as.numeric(type)) -> resource_record_tbl
|
||
|
|
||
|
use_data(resource_record_tbl)
|
||
|
|