@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://data.amerigeoss.org/dataset/5f4191a5-2d31-4d9c-9741-a4049f9922d0> a dcat:Dataset ;
    dct:description """<p>Replication data for Henderson, J. Vernon, Adam Storeygard, and Uwe Deichmann. "Has climate change driven urbanization in Africa?." Journal of Development Economics 124 (2017): 60-82.<br />
Data include climate variables, conflict events, industry by district, urban/rural population, and distance to coast.</p>
<p>This paper documents a substantial impact of climate variation on urbanization in sub-Saharan Africa. In a panel of over 350 subnational regions, we find that drier conditions increase urbanization in places most likely to have an urban industrial base. Total city income in such places also increases. When receiving cities have a traded good sector that is not wholly dependent upon local agriculture, migration to cities provides an “escape” from negative agricultural moisture shocks. However, in most places (75% of our sample) without an industrial base, there is no escape into alternative export-based employment. Drying causes reduced urban and rural incomes, with little overall impact on the urban population share. Finally, the paper shows that climate variation also induces employment changes within the rural sector itself. Drier conditions induce a shift out of farm activities, especially for women, into non-farm activities, and especially out of the measured work force. Overall, these findings imply a strong link between climate and urbanization in Africa.</p>
<p>This dataset is part of the Global Research Program on Spatial Development of Cities funded by the Multi-Donor Trust Fund on Sustainable Urbanization of the World Bank and supported by the U.K. Department for International Development.</p>
""" ;
    dct:identifier "5f4191a5-2d31-4d9c-9741-a4049f9922d0" ;
    dct:issued "2025-09-18T20:31:33.585760"^^xsd:dateTime ;
    dct:modified "2025-09-18T20:31:33.585766"^^xsd:dateTime ;
    dct:publisher <https://data.amerigeoss.org/organization/d92053b4-d997-4aa8-bbda-02a0753be4e3> ;
    dct:title "Has Climate Change Driven Urbanization In Africa?" ;
    dcat:distribution <https://data.amerigeoss.org/dataset/5f4191a5-2d31-4d9c-9741-a4049f9922d0/resource/9522fa66-78fb-4970-a0ff-4322842badde>,
        <https://data.amerigeoss.org/dataset/5f4191a5-2d31-4d9c-9741-a4049f9922d0/resource/fa393df4-8a25-442a-857b-e4d6a52f168e>,
        <https://data.amerigeoss.org/dataset/5f4191a5-2d31-4d9c-9741-a4049f9922d0/resource/fa3fecc7-fab8-4c22-b977-791aea91a64b> ;
    dcat:keyword "AmeriGEO",
        "AmeriGEOSS",
        "Energy",
        "GEO",
        "GEOSS",
        "Global",
        "SDG",
        "SDG7",
        "World Bank" .

<https://data.amerigeoss.org/dataset/5f4191a5-2d31-4d9c-9741-a4049f9922d0/resource/9522fa66-78fb-4970-a0ff-4322842badde> a dcat:Distribution ;
    dct:description """The enclosed data and code replicates all tables and graphs in "Has climate change driven urbanization in Africa?" by Vernon Henderson, Adam Storeygard and Uwe Deichmann\r
\r
Please cite this paper if you use this code.\r
\r
All scripts may require modification of pathnames to match the user's file system.\r
\r
regs.do is a stata do file (written for version 12.1) that reproduces all figures and tables, using the following four data files:\r
- regiondata.dta contains the data used to create tables 1 (Panel A), 2, 3, 4, A1, A2, and A3a, and figures 6 and 7.\r
- citydata.dta contains the data used to create tables 1 (Panel B), 6, 7, 8, A3b, and A4.\r
- countrydata.dta contains the data used to create table 5.\r
- countrydata_allyears.dta contains the data used to create figure 4.\r
\r
These four datafiles were constructed using the following code for python (ArcGIS; .py), stata (.do), and matlab (.m):\r
\r
districts:\r
- udel_to_ascii_africa_monthly.do converts raw downloaded climate data (air_temp.YYYY and precip.YYYY for years YYYY) to ascii grid format readable by ArcGIS\r
- znew.py calculates average values of the climate variables by district. Also assigns districts to each industry, and centroids, distance to coast, and neighbors to each district. \r
\r
cities:\r
- floodremovefews2.m downloads the Novella and Thiaw (2012) rainfall data and averages it by year, with alternate versions that first winsorize the data\r
- rain_calctrims.py calculates annual rainfall for each city-light\r
- v4citypop_encode.do converts raw information on African city populations and locations primarily from citypopulation.de standardizes it\r
- splitlight_city_join.py - joins this population information to the lights\r
- conflictprep.do preps the raw downloaded conflict data ("SCAD 3.1 (For Public Release).csv") for next steps, using country codes from cflisocodes.dta\r
- conflict.py assigns conflicts to each city within 0-3 km and 3-50 km\r
\r
all:\r
fullrepprep.do - combines the various input files created above into the four stata files for analysis\r
\r
Each script contains information on its input and output files\r
\r
Raw input files:\r
citypop_v4.csv - raw city population information from citypopulation.de used by v4citypop_encode.do\r
citypop_v4_latlons.csv - raw city location information from citypopulation.de used by v4citypop_encode.do\r
Africa.html.csv -  - raw population cutoff information from citypopulation.de used by v4citypop_encode.do\r
afrisoniso3.csv - table of country codes used by v4citypop_encode.do and splitlight_city_join.py\r
extra_sources.csv - table of additional (i.e. not from citypopulation.de) population and location information used by v4citypop_encode.do\r
\r
afrregnew.gdb - district boundaries, primarily aggregated from GADM database of Global Administrative Areas v. 2 (see database.xlsx for aggregations), used by znew.py\r
cflisocodes.dta - country codes used by conflictprep.do\r
database.xlsx - urban and total populations of districts from various censuses, used by fullrepprep.do \r
gadm2afrcoastline.shp - coastline of Africa shapefile, based on GADM database of Global Administrative Areas v. 2, gadm.org, used by znew.py\r
oxfordlatlons.csv - table of cities with industry dummies, digitized from Ady (1965), used by znew.py and splitlight_city_join.py\r
palliso - city lights from "Farther on down the road: transport costs, trade and urban growth in sub-Saharan Africa", used by splitlight_city_join.py and rain_calctrims.py\r
Pallyears.csv - Gridded average annual rainfall from Novella and Thiaw (2012) as calculated by floodremovefews2.m, used by rain_calctrims.py\r
Ptrim196allyears.csv - Gridded average annual rainfall, winsorized at 1.96 SD above the local mean from Novella and Thiaw (2012) as calculated by floodremovefews2.m, used by rain_calctrims.py\r
Ptrim257allyears.csv - Gridded average annual rainfall, winsorized at 2.57 SD above the local mean from Novella and Thiaw (2012) as calculated by floodremovefews2.m, used by rain_calctrims.py\r
Ptrim2allyears.csv - Gridded average annual rainfall, winsorized at 2 SD above the local mean from Novella and Thiaw (2012) as calculated by floodremovefews2.m, used by rain_calctrims.py\r
Ptrim3allyears.csv - Gridded average annual rainfall, winsorized at 3 SD above the local mean from Novella and Thiaw (2012) as calculated by floodremovefews2.m, used by rain_calctrims.py\r
"SCAD 3.1 (For Public Release).csv" - raw conflict data downloaded from CCAPS, used by conflictprep.do\r
wdiwide.dta - World Development Indicators data, used by fullrepprep.do\r
udel/air_temp.YYYY and udel/precip.YYYY - raw climate data (for years YYYY) downloaded from the University of Delaware, used by udel_to_ascii_africa_monthly.do""" ;
    dct:format "ZIP" ;
    dct:issued "2025-08-27T06:35:16.611713"^^xsd:dateTime ;
    dct:modified "2025-09-18T20:31:33.571938"^^xsd:dateTime ;
    dct:title "Datasets and codes" ;
    dcat:accessURL <https://datacatalogfiles.worldbank.org/ddh-published/0040687/DR0050740/hsdgisreplicationnorawclimatedata_smallwdi_0_0.zip> .

<https://data.amerigeoss.org/dataset/5f4191a5-2d31-4d9c-9741-a4049f9922d0/resource/fa393df4-8a25-442a-857b-e4d6a52f168e> a dcat:Distribution ;
    dct:format "PDF" ;
    dct:issued "2025-08-27T06:35:16.611716"^^xsd:dateTime ;
    dct:modified "2025-09-18T20:31:33.572858"^^xsd:dateTime ;
    dct:title "Has climate change driven urbanization in Africa" ;
    dcat:accessURL <https://datacatalogfiles.worldbank.org/ddh-published/0040687/DR0050741/henderson-storeygard-deichmann-2017-has-climate-change-driven-urbanization-in-africa_0.pdf> .

<https://data.amerigeoss.org/dataset/5f4191a5-2d31-4d9c-9741-a4049f9922d0/resource/fa3fecc7-fab8-4c22-b977-791aea91a64b> a dcat:Distribution ;
    dct:description "Some additional information about the data and replication files." ;
    dct:issued "2025-08-27T06:35:16.611718"^^xsd:dateTime ;
    dct:modified "2025-09-18T20:31:33.573698"^^xsd:dateTime ;
    dct:title "Author's website" ;
    dcat:accessURL <https://sites.google.com/site/adamstoreygard/> .

<https://data.amerigeoss.org/organization/d92053b4-d997-4aa8-bbda-02a0753be4e3> a foaf:Agent ;
    foaf:name "World Bank" .

