jeudi 26 avril 2018

R getting data from php

I'm trying to get data from one php site http://sistemas.anatel.gov.br/se/public/view/b/licenciamento.php using R. This site has a lot of data, but it's not showing all information at the same page.

I wrote de code bello in R:

library(XML)

anatel = "http://sistemas.anatel.gov.br/se/public/view/b/licenciamento.php" anatel.table = readHTMLTable(anatel, header=T, which=1,stringsAsFactors=F)

This code is taking just data from the first 50 rows. How could I get all data from this table? I know there are around 87K rows the whole table.

Thanks!




Aucun commentaire:

Enregistrer un commentaire