Code for the paper "Evolution of residential segregation patterns in the Netherlands between 2015 and 2020"
doi: 10.4121/dfe5f48a-b13c-441c-9d8a-345b89599093
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
- 2023-10-06 first online, published, posted
DATA
- 50,303 bytesMD5:
c2b8cbf1cc9e3f7580f7df2237324e8a
adjancency_matrix.ipynb - 12,365 bytesMD5:
f47006011d4b227cdb8ce05d4ffa0b07
covariance_matrix.ipynb - 29,202 bytesMD5:
d9d1c0207da765894e26c7685f1c7124
data_analytics.ipynb - 75,816 bytesMD5:
64fe72bdfcda1cccad994f2cfd35324d
demographics_preprocess.ipynb - 16,562 bytesMD5:
3e7e2d997b4ec12ef9c9502224678b51
exposure.ipynb - 2,889 bytesMD5:
ec56f602a45a8e0f922d6bea80e82511
extract_city_boundary.ipynb - 3,312 bytesMD5:
c85360c1dcc5d3ac040bc0c9fdf52994
extract_street_network.ipynb - 23,894 bytesMD5:
aa66a240bbf0d70816170bf55cdd2605
extract_zones_in_gemeente.ipynb - 19,633 bytesMD5:
188fab5b751a80c97743c28e1fc53a24
indicators_city.ipynb - 4,513 bytesMD5:
605943dc73bf6938b1ff551d41c13633
mean_var_city_Bernoulli.ipynb - 137 bytesMD5:
a2f39fabee763e60679fbfaa99989e7a
parameter.csv - 24,584 bytesMD5:
dc665c0ba0ee1ad1c7c0ac0041ba2535
regionalization.ipynb - 1,182 bytesMD5:
7aea036faee44df6417185abf4517b14
requirements.txt - 16,334 bytesMD5:
aa25990de85b376c1ed48987c5971d02
shortest_paths.ipynb -
download all files (zip)
280,726 bytes unzipped