2017-09-15 13 views

答えて

1

最小限の例を:

library(rvest) 

    data <- read_xml("url") 


    a <- data %>% xml_find_all("//node a") %>% xml_text() 
    b <- data %>% xml_find_all("//node b") %>% xml_text() 

    df = data.frame(a,b)