/ine_dados_2021

Example Code in Python for use of the data made available by INE

Primary LanguagePythonMIT LicenseMIT

Summary

2021 Provisional Results at the statistical subsection level

As part of the 2021 Census, the Geographic Information Reference Base (BGRI 2021) was created, a geographic infrastructure that divides the national territory into small areas for statistical purposes.

In an unprecedented way, and also in the context of the dissemination of provisional Census results, INE developed a geopackage consisting of information on the Provisional Results of the 2021 Censuses in terms of counting buildings, accommodations, households and individuals associated with the geographic component of the BGRI 2021 (statistical section and subsection).

The availability of this information enables the study and characterization of realities at a detailed geographical level, with relevance in several areas of intervention such as the preparation of risk management plans in the scope of civil protection or the planning of basic infrastructures.

Access to this 2021 geopackage is available on the INE Portal at: http://mapas.ine.pt/download/index2021.phtml


Data Treatment

Since geopackage is not a very common format VOST Portugal created a geojson and kml version of the main files. The files can be found here


Available Data

In the package you have access to the following data

  • Number of Classic Buildings
  • Number of Lodging
  • Number of Family Aggregates
  • Number of individual residents

Example generated by app.py

Number of Individual Residents in Nelas, Viseu, Portugal

nelas


How to run

  • Install packages in a virtual environment according to requirements.txt
  • Run app.py

Made with 🤍 by VOST Portugal