begin to develop DBF reading tool for 1991 census and id_dom generator#177
Open
FEconomist wants to merge 5 commits intomainfrom
Open
begin to develop DBF reading tool for 1991 census and id_dom generator#177FEconomist wants to merge 5 commits intomainfrom
FEconomist wants to merge 5 commits intomainfrom
Conversation
Accept a new `dbf` flag in datazoom_censo.ado and propagate it to load_censo; add suf1991dbf and branch logic to switch suffixes and show a message when 1991 microdata are in DBF format. Also add a new script Censo/gera_id_dom_91dbf.do that imports a sample DBF file, destrings relevant fields and generates a domicile ID (id_dom) based on family/household indicators. This enables processing of 1991 DBF microdata and provides a helper to create domicile identifiers.
Testando novo identificador de domicílio para o censo de 91 baseado nas ideias do identificador criado para o censo de 70, mas com outras condições e adaptações para o censo de 91.
A variável v2111 - "Densidade de pessoas por cômodo" estava sendo tratada como integer, o que gerava perda de informação e imprecisão> Com as correções do dicionário, agora essa variável é lida como double.
A variável v2121 - "Densidade morador/comodo" estava sendo lida como integer, gerando perda de informação e imprecisão. Com as mudanças, será corretamente lida como double.
Cria método alternativo 2 para a versão em dat/txt e dbf para criação de id_dom para o censo de 1991
giovannaribeirops
approved these changes
Mar 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Accept a new
dbfflag in datazoom_censo.ado and propagate it to load_censo; add suf1991dbf and branch logic to switch suffixes and show a message when 1991 microdata are in DBF format. Enables processing of 1991 DBF microdata and provides a helper to create domicile identifiers.