Posts by Denisson Silva • 161 points
4 posts
-
0
votes1
answer187
viewsA: Download API data that returns JSON format within XML
Try something like that: library(xml2) library(magrittr) library(jsonlite) url <-…
-
2
votes1
answer170
viewsQ: Rselenium error - Selenium message:Java heap space
Hello, I’m trying to make a scraping of http://acervo.estadao.com.br/ using Rselenium, because the page only generates the information in html when it is loaded in the browser. Well, when it…
-
10
votes2
answers2429
viewsA: How to recognize and change the encoding of Latin characters in R?
library(XML); library(httr) url = "http://www.encontroabcp2014.cienciapolitica.org.br/site/anaiscomplementares?AREA=8" site_gt = GET(url) site_gt = content(site_gt, as = "text") site_gt <-…
-
0
votes3
answers2014
viewsA: Web scraping with R
Rselenium is a good idea. Although you don’t need to load a page, just use the functions of the XML package (htmlParse, getNodeSet, xmlValue and xmlGetAttr) 1 - collect all industry links; 2 -…