Replication material for paper "Freihardt, J., Rudolph, L., & Koubi, V.: Panel data on mobility, socio-economic, and political impacts of riverbank erosion and flooding in Bangladesh"
Authors/Creators
Description
This deposit contains the replication code for the figures and tables in the paper "Panel data on mobility, socio-economic, and political impacts of riverbank erosion and flooding in Bangladesh".
The replication files cover Figure 2 (distance from river bank), Figure 7 (perceived impact of COVID-19 on migration plans), Figure 8 (validation of satellite-based erosion assessment against self-reported house loss), Figure 9 (panel attrition by wave and migrant type), Figure 10 (number of survey waves participated), Table 1 (descriptive statistics across waves), and Figures S1–S8 (equivalence tests).
Scripts for Figures 2, 7, 8, 9, 10, and Table 1 are written in R and use the BEMPdata package (https://doi.org/10.5281/zenodo.18775709), which downloads the survey data automatically from Zenodo on first run — no separate data download is needed. The script for Figure 8 additionally requires the file fig8_df_distances.csv, which is included in this deposit and contains ArcGIS-derived distances and angles of household locations to the riverbank. Scripts for Figures S1–S8 consist of a Stata do-file (to prepare the input data) and an R script (to produce the plots); they require the BEMP wave data in Stata format, available from the BEMP data deposit (https://doi.org/10.5281/zenodo.18229497).
The underlying survey data are openly available at: https://doi.org/10.5281/zenodo.18229497
Files
README.md
Files
(265.9 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:7254cea8729610b8fb9c0e7fd3a789ff
|
4.5 kB | Download |
|
md5:60059adce5cfe85f67f6ae0cdf910a81
|
1.1 kB | Download |
|
md5:c5fdac572a08e5b9b536d87aaa31be71
|
2.2 kB | Download |
|
md5:08dbe04d7d7c1e9d5b9e3f089513db97
|
188.6 kB | Preview Download |
|
md5:6294c98e0e6c0ba47199085e8ef91f20
|
7.7 kB | Download |
|
md5:8e25112e09ac28550ea46926c42047ee
|
6.0 kB | Download |
|
md5:2072380c08aa634e789e7029ab5e2192
|
7.4 kB | Download |
|
md5:d66b9b09aa5fc88bb6cd1020d66158a9
|
24.9 kB | Download |
|
md5:31a614e717a6fcbe10406a39e367069b
|
6.8 kB | Preview Download |
|
md5:2df4e96fcc1bd246a1e8c4b310e9df2b
|
16.6 kB | Download |
Additional details
Funding
- Swiss National Science Foundation
- Climate Risk, Land Loss, and Migration: Evidence from a Quasi-Experiment in Bangladesh 185210