Published September 20, 2025 | Version v1
Patent Open

Código CNEFE 2010: An open pipeline for spatializing and categorizing the 2010 CNEFE in Brazil

Description

CNEFE-Faces is an open-source Python pipeline designed to work with the Cadastro Nacional de Endereços para Fins Estatísticos (CNEFE 2010), produced by IBGE.

The software automates the process of:

  1. Reading raw fixed-width TXT files (FWF) from the CNEFE 2010 database.
  2. Building standardized geographic identifiers (ID_municipioID_setorID_face).
  3. Categorizing addresses by their official usage codes (1–7).
  4. Refining “Other establishments” (code 6) through keyword-based classification using the establishment description.
  5. Linking TXT records directly with IBGE block-face shapefiles.
  6. Exporting results as GeoPackage (GPKG) and CSV for GIS and urban analysis workflows.

This tool supports researchers in urban planning, geography, demography, and data science who need reproducible, documented, and extensible workflows for socio-spatial analysis.

Files

CNEFE_2010_v01n.ipynb

Files (49.4 kB)

Name Size Download all
md5:5c779eae49e53e500a41ba32637a02e1
41.6 kB Preview Download
md5:c4d37e8a3ee6a89634d78ce6b32f3671
1.2 kB Download
md5:daf7f6fd46033da72e09974b308c85a6
2.8 kB Preview Download
md5:a5b033634288f11bdca9ffe575c99558
3.7 kB Preview Download

Additional details

Software

Repository URL
https://github.com/anamaffini/Codigo_CNEFE_2010
Programming language
Python
Development Status
Active