This repository contains the code and documentation for the research project conducted at the University of Aveiro, Portugal. The project focuses on the evaluation of territorial impact from urban revitalization operations.
- Clone the repository.
- Some files are too big to be uploaded to Github. Download the 4 files available on the following link (ADD LINK) and follow the instructions below:
- Place the file "BGRI21_CONT.gpkg" in the folder "../Approach_1/AIC_Regression/Data/BGRI21_CONT/"
- Place the file "BGRI2011_PT_2.csv" in the folder "../Approach_1/AIC_Regression/Data/BGRI11/"
- Place the file "BGRI11_CONT.shp" in the folder "../Approach_1/AIC_Regression/Data/BGRI11/CONTINENTE/"
- Place the file "Cont_AAD_CAOP2022.shp" in the folder "../Approach_1/AIC_Regression/Data/CAOP_2022/"
The repository encompasses 2 approaches to perform the evaluation of territorial impact from urban revitalizaion operations, divided in 2 folders:
- Approach_1 Folder (using Difference-in-Differences methodology)
- Approach_2 Folder (preferences evaluation for residence location)
AIC_Regression Folder containing:
Notebooks Folder:
- 01_ETL_AIC.ipynb
- 02_Clustering_AIC.ipynb
- 03_Modelling_AIC.ipynb
- 04_Context_AIC.ipynb
Data Folder:
- All necessary files to run the notebooks
Others Folder:
- environment.yml and requirements.txt, with library information
- Análise_Descritiva_POAT.html with the descriptive analysis of the variables
Georref_Zones Folder containing:
Notebooks Folder:
- PreProcessing_Part0_GeoCode_PYCodPostal.ipynb
- PreProcessing_Part1.ipynb
- PreProcessing_Part2.ipynb
- PreProcessing_Part3.ipynb
- PreProcessing_Part4.ipynb
Data Folder:
- All necessary files to run the notebooks
Others Folder:
- geopreprocess.yml and requirements_geopreprocess.txt with library information
Notebooks Folder:
- Prospect_ETL_v0.ipynb
- Prospect_ETL_v1.ipynb
Data Folder (with 2 subfolders as per below):
- Data_Pickles Folder - All necessary pickles to run the notebooks
- Data_PROLIFIC Folder - All necessary survey data to run the notebooks
Others Folder:
- analstats.yml, requirements_analstats.txt and requirements_modellingpytorch.txt with library information
NOTE: CAOP and BGRI data can also be obtained at: https://www.dgterritorio.gov.pt/cartografia/cartografia-tematica/caop, https://mapas.ine.pt/download/index2021.phtml and https://mapas.ine.pt/download/index2011.phtml (in case the link supplied on the "Steps to properly run the Notebooks" section doesn't work.