Description This function is designed to calculate land use and land cover change trajectories. It takes as input land cover data and administrative zone information. The function first calculates a trajectory map, which represents the changes in land use and land cover over a specified period.
Process: It creates a cross-tabulation, or contingency table, of land cover types and administrative zones. This table provides a detailed breakdown of the distribution of land cover types across different administrative zones, allowing for a granular understanding of land use patterns.
Output: the function visualizes the trajectory data in the form of a bar chart. This plot provides a clear and concise visual representation of the changes in land use and land cover over time, making it easier to identify trends and patterns.
To do list
Update the plot_bar_trajectory function to accommodate both deforestation and degradation trajectories.
Develop a function that summarizes land cover change trajectories by planning unit. This function should:
ques_pre_trajectory
functionDescription This function is designed to calculate land use and land cover change trajectories. It takes as input land cover data and administrative zone information. The function first calculates a trajectory map, which represents the changes in land use and land cover over a specified period.
Process: It creates a cross-tabulation, or contingency table, of land cover types and administrative zones. This table provides a detailed breakdown of the distribution of land cover types across different administrative zones, allowing for a granular understanding of land use patterns.
Output: the function visualizes the trajectory data in the form of a bar chart. This plot provides a clear and concise visual representation of the changes in land use and land cover over time, making it easier to identify trends and patterns.
To do list
plot_bar_trajectory
function to accommodate both deforestation and degradation trajectories.lc_t1_
,lc_t2_
,admin_
), key table inputs (lookup_traj_reclass
,lookup_trajectory_complete
), and key column inputs (trajectory
,def
).map_trajectory
,map_deforest_degrad
).