Retrieve table using rvest and selectorgadget

Hi All,
I am using selector gadget and rvest for retrieving table (city, lat lng) from source

I tried

library(dplyr)

google<-read_html("https://simplemaps.com/data/es-cities") %>% 
       html_nodes("td:nth-child(3) , td:nth-child(2) , td:nth-child(1)") %>% 
      html_attrs()
google

I will be grateful if sorting out what is the issue.

Thanks

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.