R - IBGE municipal data download

5

Is there any way to download IBGE municipal data with the R command line?

    
asked by anonymous 10.07.2014 / 00:17

2 answers

4

If you know the download link you can try to use the download.file function to download any type of file on the internet, in this link you find a help of the arguments that can be used, and in this site has a practical example of use.

    
10.07.2014 / 01:12
2

I believe Anthony Damico's work today is the most comprehensive one on reading from a variety of data sources. On his site it is possible to find from the script of the download, going through the reading and arriving at the analysis, using packages like the Survey. Strongly recommend the visit: link .

In particular, about the Brazilian Demographic Census has the following link: link

To get a more accurate result, Anthony counted on the collaboration of Prof. Djalma Pessoa, currently retired from IBGE.

    
10.07.2014 / 22:12