Web scraping with R 2

Asked

Viewed 170 times

1

I wish I could create a role in R to capture the information from this site http://www.fns.saude.gov.br/visao/consulta/simplificada/filtro.jsf being that it passes me this consolidated information by Year, state and Municipio, I tried to use the software R through the library "rvest" but did not understand right the functions Could someone help me at least how to get started?

  • Check this link and see if it helps: https://blog.rstudio.org/2014/11/24/rvest-easy-web-scraping-with-r/

  • Apparently, the access to the data is by javascript, IE, you will not be able to access the data with rvest. You should use Rselenium. There are many good tutorials out there. An example shows the limitation of rvest and part to Rselenium: https://www.r-bloggers.com/navigating-scraping-a-job-site-rvest-rselenium/

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.