Chapter 6 The ForestryValidationAnnualChanges module
The module ForestryValidationAnnualChanges pulls out records with significant abnormal high annual changes on production, imports and exports according to parameters set by the user.
6.1 Steps
The module applies simple check in the data. Basically it does the following.
6.1.1 Read in data
The module reads data from forestry_prod_trade_agg dataset and from the datatables listed in the figure 8.1.
6.1.2 Data filtering
After pulling the needed data, the module applies filters using the parameters chosen by the user accordingly. The module has two kinds of parameters:
- time range (start and end year of the process) - Start year and End year;
- quantity threshold (minimum quantity analysed) - Production Qty threshold.
- percentage change - Percentage Change.
6.1.3 Annual Change check
At this stage, there are only the target data as the time range and quantity threshold were applied. Therefore, the module verifies if within the remaining data there is any item with an percentage annual change beyond its limits.
6.1.4 Email the user
The final step of this module is to email the user with the output.
6.2 Running the module
Log in the SWS;
Click on New Query;
Select Forestry domain and forestry_prod_trade_agg dataset;
Select whatever geographicAreaM49, measuredElement, measuredItemForestry and timePointYears. After that, run the query;
Select the ForestryValidationAnnualChanges module, choose the parameters (Start and End year ; Percentage change ; Production Qty threshold) and click on Run plugin;
6. Wait for a window message to appear in the session;
- Get your results sent by email.