%0 Generic %A Spierenburg, Lucas %A Cats, O. (Oded) %A van Cranenburgh, Sander %D 2023 %T Code for the paper "Evolution of residential segregation patterns in the Netherlands between 2015 and 2020" %U %R 10.4121/dfe5f48a-b13c-441c-9d8a-345b89599093.v1 %K Regionalization %K Multi-dimensional analysis %K Spatial scale %K Residential segregation %K Spatial clustering %X

This code is used for computing the results of the paper "Evolution of residential segregation patterns in the Netherlands between 2015 and 2020". 

This code identifies and characterizes residential segregation patterns from demographic data. It is applied in a Dutch case study. It is written in python, using notebooks.

This source code should be stored in a folder named code. The folder code and the folder data (see https://doi.org/10.4121/78ca3d23-2846-499d-8448-d0a1812bc378) should be located in the same directory.

FORMAT

*.mkd;

*.ipynb;

*.txt;

*.csv

RECOMMENDED HARDWARE

1. Processor: Intel® Core™ i5-10210U CPU

2. RAM: 32GiB of RAM (DDR4)

3. GPU: Intel® UHD Graphics GPU

RECOMMENDED OPERATING SYSTEM

Ubuntu 21.10, 64-bit

REQUIRED VERSION OF PYTHON

3.9.7

REQUIRED LIBRARIES USED

see requirements.txt

EXTRA FILE

parameter.csv specifies some parameters used in the analysis.

SEQUENCE OF SCRIPTS

The scripts should be run in the following order:

1. demographics_preprocess.ipynb

2. extract_city_boundary.ipynb

3. extract_street_network.ipynb

4. extract_zones_in_gemeente.ipynb

5. shortest_path.ipynb

6. adjacency_matrix.ipynb

7. covariance_matrix.ipynb

8. mean_var_city_Bernoulli.ipynb

7. exposure.ipynb

8. regionalization.ipynb

9. indicators_city.ipynb

10. data_analytics.ipynb

%I 4TU.ResearchData