-1
I would like to create a tool to make web scraping on the website of the Chamber of Deputies of Rio de Janeiro, but I am running into the problem of even being able to read the web page.
Does anyone know why the function read_html
is returning the value {xml_nodeset (0)}
?
Follows the code:
scrap <- read_html("http://www.camara.rj.gov.br/controle_atividade_parlamentar.php?m1=materias_leg&m2=10a_Leg&m3=prolei&url=http://mail.camara.rj.gov.br/APL/Legislativos/scpro1720.nsf/Internet/LeiInt?OpenForm")
scrap %>%
html_nodes("h1")
#Resposta: {xml_nodeset (0)}
This is not an error message, it is a function return value
html_nodes
which means not the value"h1"
was not found.– Rui Barradas