2
Does anyone know where to download ASCII (.sas) files for reading the IBGE 2010 Demographic Census microdata ?
I know that the Anthony Damico keeps only a few files on his website (see below how to download), but I am looking for the files available by IBGE itself. Damico does not provide, for example, the reading file of the mortality database.
# download arquivo SAS de pessoas
download.file( "https://raw.github.com/ajdamico/asdfree/master/Censo%20Demografico/SASinputPes.txt" , "LEPESSOAS.sas" )
ps. No IBGE website/2010 census It is possible to download the microdata and documentation, but there is no information about the reading files in SAS
UPDATE (02 Oct 2015)
I confirmed the @Rcoster response with two IBGE researchers. IBGE does not provide the SAS reading files on the website. I followed @Rcoster’s suggestion and created a script that:
- download data and documentation from the 2010 census
- uses the excel variable dictionary to build the base reading file in
.txt
and convert to formatdata.table
- saves the bases in
.csv
The script is very fast and is available here. Suggestions are welcome.
The census microdata are in CSV or . xls, so the reading is done directly (
read.xsl()
orread.csv2()
). Or you want the sample data?– Rcoster
I want to read the sample data. Thank you for the information
– rafa.pereira