The datafile (.csv) and shapefile (.shp) in this folder were used to show the migration flux and population densities of the villages in the coastal area of Demak. 
We used the village administrative boundaries and census data for 2009, 2010, 2014 and 2019 to create the shapefile. 
Census data were obtained from the website of the central bureau of statistics of Demak Regency, available at: https://demakkab.bps.go.id/publication.html. 
Through here, publications of census data per subdistrict of interest are available (our villages of interest lie withing the subdistricts of Bonang, Karang Tengah, Sayung and Wedung) 
Census data were joined with an existing shapefile of central Java's village administrative boundaries to create the shapefile in this folder.
The variablenames of the shapefile used to create Figure 3 in the Nature Sustainability paper are: 
- d_mig_fl_1: which is the migration flux in the villages in 2010. We chose this date as it is the year following a major erosion event in 2009, which was identified using the historic image slider in Google Earth Pro.
- population density per hectare: create new variable by: d_popula_1 / surface area in hectares (Desa_1)

The attribute table columns of the shapefile link to the columns in the csv file in the following manner:

columname in cvs	columname in attributetable .shp
Column1	d_field_1
KODE	KODE
DESA	DESA_1
KECAMATAN	d_KECAMATA
KABUPATEN	d_KABUPATEN
PROPINSI	d_PROPINSI
KODE_KAB	d_KODE_KAB
KABUPATEN_	d_KABUPA_1
KODE_PROP	d_KODE_PRO
PROPINSI_1	d_PROPIN_1
dfInside s	d_dfInside
X	d_X
Y	d_Y
Dist_epi_m	d_Dist_epi
population.2009	d_populati
population.2010	d_popula_1
population.2014	d_popula_2
population.2019	d_popula_3
births.2009	d_births.2
births.2010	d_births_1
births.2014	d_births_2
births.2019	d_births_3
deaths.2009	d_deaths.2
deaths.2010	d_deaths_1
deaths.2014	d_deaths_2
deaths.2019	d_deaths_3
arrived.2009	d_arrive.
arrived.2010	d_arrive_1
arrived.2014	d_arrive_2
arrived.2019	d_arrive_3
left.2009	d_left.200
left.2010	d_left.201
left.2014	d_left.2_1
left.2019	d_left.2_2
mig_flux.2009	d_mig_flux
mig_flux.2010	d_mig_fl_1
mig_flux.2014	d_mig_fl_2
mig_flux.2019	d_mig_fl_3
migperc.2009	d_migperc.
migperc.2010	d_migper.1
migperc.2014	d_migper.2
migperc.2019	d_migper.3
