5 Trade partners

Some countries do not report trade. A country might not report trade (no imports and no exports), or no imports, or no exports. In these cases, we estimate their trade by applying what the reporters of the non-reporting country reported. For example, if Ecuador does not report export data we will estimate Ecuador’’s exports with the imports data reported by all countries where the partner was Ecuador. For this reason, the mirroring process is implemented when data from all reporting countries was processed (mapped, missing weights imputed, and validated), i.e. at the very end of the process.

The module generates the list of non-reporting countries: these are the countries present as partners but missing as reporters. For these countries the mirroring routine is applied: the corresponding trade of the non-reporting countries are extracted from the partners inverting the flows. The quantities are the same while the values are corrected by a factor of 12% due to the CIF/FOB conversion.

In Figure 5.1 is introduced the mirroring workflow. The tables that store the list of non-reporting and the list of donors are working in memory, i.e., there is no data saved on hard disk or in the SWS. They are considered as temporary tables. In the Mirroring Module, the user is able to check the quality of the mirroring through data visualization, aggregations by several levels and filters by commodity codes.

Mirroring Module Flow.

Figure 5.1: Mirroring Module Flow.

Figure 5.2 shows the buttons to check the non-reporting countries, the list of donor to be removed when some country reported data not reliable.

Check the non-reporting.

Figure 5.2: Check the non-reporting.

Figure 5.3 shows the options for data aggregation and also the time series of the commodity. The weigh, value, or unit value can be choosen to visualise the time series.

Screenshot of the Mirroring validation: time series.

Figure 5.3: Screenshot of the Mirroring validation: time series.

Figure 5.4 shows the editable table. In this stage, the user can adjust any data mirrored. For instance, the user can perform a manual intervention if he is not satisfied with estimates.

Screenshot of the Mirroring validation: editable data.

Figure 5.4: Screenshot of the Mirroring validation: editable data.

5.1 Scheda

Once the country to estimate, the flow, the year, and the list of potential donors has been selected, the tool should build the data by searching in the validated trade data for data where the country to estimate appears as a partner. Then the data will need to be transformed: partner becomes est_reporter, reporter becomes donor, and flow becomes reporter_flow. This newly created data will need to be mapped. Two situations exist:

  • The combination est_reporter, reporter_flow, donor_code, donor_tariff_line exists in the Partnership map table then the est_reporter_scheda, and the isscfc_code are reused and the end_year is updated in the trade map.
  • The combination est_reporter, reporter_flow, donor_code, donor_tariff_line does not exist in the Partnership map table. A new record needs is added in the Partnership map, using the mapping information from the donor (donor_tariff_line, donor_scheda, donor_isscfc_code, donor_isscfc_id) and a new est_reporter_scheda is generated. The startyear and endyear of this new mapping in the Parternship map table is equal to the year selected at the beginning of the mirroring process.