View or edit on GitHub
This page is synchronized from trase/data/ghana/spatial/LULC/land use dynamics/landuse_dynamics_exploration.md. Last modified on 2025-12-13 00:30 CET by Trase Admin.
Please view or edit the original file there; changes should be reflected here after a midnight build (CET time),
or manually triggering it with a GitHub action (link).
title: "Ghana land use dynamics - Exploration" author: "Cecile Renier" date: "1/3/2022" output: html_document: keep_md: yes word_document: default editor_options: chunk_output_type: inline
1. Load & Clean data
2. Checks
Comparing district shapefiles
Comparing Food crop area vs. Left-over area


3. Cocoa production data
We have various cocoa datasets:
-
COCOBOD production data at the (old) regional level 1947 to 2019, obtained from the COCOBOD website
-
COCOBOD production data at the CHED district level 2014 to 2019, obtained from ETH
-
CIAT production data at the district AND the regional level 1980-2015, obtained on S3 (source?)
-
FAOSTAT production data, yields and area at the national level 2000-2019, obtained from FAOSTAT website
CIAT merged at regional level gives the same production as the published regional dataset of COCOBOD. Which means that somehow it should be possible to get the COCOBOD breakdown at district level also for the 2015-2019 period. We have the ETH data but it is CHED districts = difficult to make it correspond to the 2005 data.
Methods to get the 2005 area
-
average production over 4 years (for instance) around the year considered: 2004-2007 and 2018-2021 and use the 2019 yield (using the 2019 cocoa map) to estimate the area in 2005.
-
use the method of Valentin (with a production trend model)
-
use yield data from surveys around 2005, ideally per district or region
Problem of smuggled cocoa from CIV that disturbs the production data - and thus the area.
COCOBOD 2014-2019 per CHED district

COCOBOD 2014-2019 grouped per region

CIAT 1980-2015 per district --> WHERE DOES IT COME FROM? POSSIBLE TO GET UP TO 2019?

CIAT 1980-2015 grouped per region

COCOBOD 1947-2019 per region

Calculate cocoa area in 2005 and expansion area 2005-2019
## [1] 2531516
## [1] 2662292

Comparing cocoa area 2005 with cocoa-UTMF 2019

As we can see, blablabla
4. Food crop area
## [1] "MAIZE" "RICE" "CASSAVA" "YAM" "COCOYAM" "PLANTAIN"
## [7] "GROUNDNUT" "SORGHUM" "MILLET" "COWPEA" "SOYABEAN" "MAIZE "
## [13] "RICE "




5. Land cover dynamics: Sankeys
<div id="htmlwidget-270322d36d4f1f84b046" style="width:100%;height:1500px;" class="sankeyNetwork html-widget"></div>
<script type="application/json" data-for="htmlwidget-270322d36d4f1f84b046">{"x":{"links":{"source":[0,0,1,1,2,2,3,3,2,4,0,1,2,3,4,0,1,2,3,4,5,5,5,5,5,5,0,1,2,3,4,0,1,2,3,4,6,6,0,1,2,3,4,7,7,0,0,1,2,2,3,0,1,2,3,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8],"target":[9,10,9,10,9,10,9,10,11,9,12,12,12,12,12,13,13,13,13,13,9,12,14,15,16,13,17,17,17,17,17,14,14,14,14,14,16,14,15,15,15,15,15,16,15,16,18,16,16,18,16,19,18,19,18,16,20,21,22,23,24,25,26,27,28,29,30,31,32,33,33,34,35,36,37,38,39,40,41],"value":[205815,468924,941,2053,152285,295210,1197,2943,131181,1030313,10460,23,11884,63,11232,1311,9,620,8,274851,7,7,0,2220,43425,228300,0,0,0,0,14546,19991,13,7534,19,1626,75,131,2035,10,4013,32,47688,61388,0,180989,315633,751,120860,174338,1146,1117686,1530,103736,2362,4695711,19,1,2,139,200,8157,298442,23474,136,18,2,400,87,1717,1016,244,225,9,4527,1108,8,27599,157]},"nodes":{"name":["UTMFY1","DTMFY1","UTMFY1_small","DTMFY1_small","NoTMFY1","CropY1","TreePlantationY1","UrbanY1","Error","Cocoa","Cocoa_DTMFY3","Cocoa_UTMFY3_small","Mining","CropY3","TreePlantationY3","UrbanY3","NoTMFY3","OilPalm","DTMFY3","UTMFY3","CropY1_UTMFY1","CropY3_UTMFY3","CropY1_DTMFY1_tall","CropY1_DTMFY1_small","Cocoa_Mining","Mining_UTMFY3","Cocoa_UTMFY3_tall","Palm_TMFY3","CropY3_cocoa","CropY3_mining","palm_mining","palm_cocoa","palm_CropY3","TreePlantationY3_cocoa","TreePlantationY3_mining","TreePlantationY3_palm","TreePlantationY3_crop","urbanY3_cocoa","urbanY3_mining","urbanY3_palm","urbanY3_cropY3","urbanY3_treeplantationY3"],"group":["UTMFY1","DTMFY1","UTMFY1_small","DTMFY1_small","NoTMFY1","CropY1","TreePlantationY1","UrbanY1","Error","Cocoa","Cocoa_DTMFY3","Cocoa_UTMFY3_small","Mining","CropY3","TreePlantationY3","UrbanY3","NoTMFY3","OilPalm","DTMFY3","UTMFY3","CropY1_UTMFY1","CropY3_UTMFY3","CropY1_DTMFY1_tall","CropY1_DTMFY1_small","Cocoa_Mining","Mining_UTMFY3","Cocoa_UTMFY3_tall","Palm_TMFY3","CropY3_cocoa","CropY3_mining","palm_mining","palm_cocoa","palm_CropY3","TreePlantationY3_cocoa","TreePlantationY3_mining","TreePlantationY3_palm","TreePlantationY3_crop","urbanY3_cocoa","urbanY3_mining","urbanY3_palm","urbanY3_cropY3","urbanY3_treeplantationY3"]},"options":{"NodeID":"name","NodeGroup":"name","LinkGroup":null,"colourScale":"d3.scaleOrdinal(d3.schemeCategory20);","fontSize":20,"fontFamily":null,"nodeWidth":30,"nodePadding":10,"units":"ha","margin":{"top":null,"right":null,"bottom":null,"left":null},"iterations":32,"sinksRight":true}},"evals":[],"jsHooks":[]}</script>

<div id="htmlwidget-79b096e2aa7544015c42" style="width:100%;height:1500px;" class="sankeyNetwork html-widget"></div>
<script type="application/json" data-for="htmlwidget-79b096e2aa7544015c42">{"x":{"links":{"source":[0,0,1,0,2,2,2,2,2,0,1,3,4,4,5,5,6,4,4,5,6,4,7,7,7,7,7,4,4,5,4,5,8,8,8,8,8,8,8],"target":[6,5,6,7,9,10,11,12,7,4,5,8,9,13,9,13,9,10,14,10,10,15,9,10,11,12,15,16,17,16,18,17,19,20,21,14,22,23,24],"value":[313706,484862,197942,1302,26,8,1,342681,1612266,1718071,694989,24,159873,404897,172024,672872,835386,3742,0,2277,14603,25,1,4,0,213233,2388365,131107,285302,158491,1298395,525945,50,8,8006,14958,441250,137,28]},"nodes":{"name":["UTMFY1","DTMFY1","CropY1","CropY1_UTMFY1","UTMFY2","DTMFY2","NoTMFY2","CropY2","Error","Cocoa","Mining","Regrowth","Other","Cocoa_DTMFY3","Mining_DTMFY3","CropY3","NoTMFY3","DTMFY3","UTMFY3","Cocoa_Mining","Crop_UTMFY2","Mining_UTMFY3","Cocoa_UTMFY3","Crop_cocoa","Crop_mining"],"group":["UTMFY1","DTMFY1","CropY1","CropY1_UTMFY1","UTMFY2","DTMFY2","NoTMFY2","CropY2","Error","Cocoa","Mining","Regrowth","Other","Cocoa_DTMFY3","Mining_DTMFY3","CropY3","NoTMFY3","DTMFY3","UTMFY3","Cocoa_Mining","Crop_UTMFY2","Mining_UTMFY3","Cocoa_UTMFY3","Crop_cocoa","Crop_mining"]},"options":{"NodeID":"name","NodeGroup":"name","LinkGroup":null,"colourScale":"d3.scaleOrdinal(d3.schemeCategory20);","fontSize":7,"fontFamily":null,"nodeWidth":50,"nodePadding":10,"units":"ha","margin":{"top":null,"right":null,"bottom":null,"left":null},"iterations":32,"sinksRight":true}},"evals":[],"jsHooks":[]}</script>
6. Deforestation and degradation







Direct deforestation and degradation due to Land uses


Direct deforestation and degradation due to Land uses IN PROTECTED AREAS


7. Land use expansion areas
Total expansion area of LU in all the country

Total expansion area of LU in all the cocoa-growing regions


Total expansion area of LU per cocoa-growing region

Expansion area outside forest 2005
To attribute foodcrop deforestation to LULC_i expansion, we need to remove all the expansion area that occurred on land that was forest in 2005.
Problem: cocoa direct deforestation from GEE is much higher than cocoa expansion from statistical data.
Expansion area outside forests 2005 in all the cocoa-growing regions

Now, without cocoa degradation

Expansion area outside forests 2005 per cocoa-growing region
Includes cocoa degradation

Includes cocoa degradation

8. Estimate of food crop deforestation
The Expansion Area of food crops (i.e., food crops on land that has been mapped as losing forest cover) between year 1 to year 2 (EAfoodcrop outside forest y1→y2) is used as an estimate of the upper bar of deforestation and degradation due to food crops === > PROBLEM : this means that in the land balance equation, all the deltaF_fc (=EA_fc) is due to the expansion of food crops.
The problem is that in some regions, the remaining "other" land - not occupied by any of the considered land uses, neither by undisturbed or degraded forest, is quite large. This means that food crops could have been expanding on the "Other" land.
We include here in the calculation a factor "alpha" which = 1 when all the considered land use expands only on forest and = 0 when it expands only on 'other land' (not forest).
Results here with alpha = 1
## # A tibble: 6 x 9
## REGION YEAR2_HA YEAR1_HA EA_HA LANDUSE deltaF_FC_HA deltaO_FC_HA LEFT_HA
## <chr> <dbl> <dbl> <dbl> <chr> <dbl> <dbl> <dbl>
## 1 ASHANTI 484982 488568 -3586 CROP -3586 0 1.39e6
## 2 BRONG AHAFO 702553 557497 145056 CROP 145056 0 3.34e6
## 3 CENTRAL 247770 234800 12970 CROP 12970 0 3.12e5
## 4 EASTERN 545977 471174 74803 CROP 74803 0 1.02e6
## 5 VOLTA 260385. 165919 94466. CROP 94466. 0 8.17e5
## 6 WESTERN 280529 228857. 51672. CROP 51672. 0 2.60e5
## # ... with 1 more variable: CHECK <chr>

9. Distributing remaining deforestation and degradation to LU EA
Now, trying the same but only with EA of LULC_i outside land that was forest in 2005

Share of foodcrop deforestation WITHIN protected areas attributed to land use expansion
First problem = amount of deltaF_fc in protected areas??