Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dictionaries are outdated #3

Open
arademaker opened this issue Sep 7, 2015 · 1 comment
Open

dictionaries are outdated #3

arademaker opened this issue Sep 7, 2015 · 1 comment

Comments

@arademaker
Copy link
Owner

IBGE is now making all microdata available online:

[1] http://www.ibge.gov.br/home/estatistica/populacao/trabalhoerendimento/pnad2013/microdados.shtm

But it looks like the data format changed. See, for example, lines 20-21 of INPUT PES2001.TXT in the PNAD 2001 zip from [1]:

        @00023  V3033  $4.   /* ANO DE NASCIMENTO              */ 
        @00027  V8005   3.   /* IDADE DO MORADOR               */ 

In the package dictionary dicpes2001:

> dicpes2001
    inicio   cod tamanho                                desc
1        1 V0101       4                     ANO DA PESQUISA
2        5    UF       2      CODIGO DA UNIDADE DA FEDERACAO
3        5 V0102       8                  NUMERO DE CONTROLE
4       13 V0103       3                     NUMERO DE SERIE
5       16 V0301       2                     NUMERO DE ORDEM
6       18 V0302       1                                SEXO
7       19 V3031       2                   DIA DE NASCIMENTO
8       21 V3032       2                   MES DE NASCIMENTO
9       23 V3033       3                   ANO DE NASCIMENTO
10      26 V8005       3                    IDADE DO MORADOR
...

The variable V3033 start at position 23 and It should have 3 characters. The new input says V3033 has 4 characters. Probably all dictionaries must be updated!

@diegopenhanut
Copy link

Hi. I can help with it If you set smaller issues. A small set of tasks we can work on free time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants