Tools to work with the Google DNS over HTTPS API in R
https://cinc.rud.is/web/packages/gdns/
您最多能選擇 25 個主題
主題必須以字母或數字為開頭,可包含連接號「-」且最長為 35 個字元。
15 行
409 B
15 行
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)
|
||
|
|