Skip to content

Aggregated data Synchronization

Sergio Galan edited this page Jan 8, 2021 · 6 revisions

Manual Sync / Data / Aggregated data

→ MetaData Synchronization / Aggregated data sync / Manual Sync

Select Aggregated dataset

Synchronization for datasets is similar to the events syncronization.

MD Sync will show a screen with a list of metadata objects. To ease search, you can filter these objects by name, by type of metadata and by date of last update.


Don't you find what you are looking for? There might be several pages within this screen. Check the pagination below the search results.


Manual%20Sync%20Data%20Aggregated%20data/dataset_sync_main.png


Observe that you don't need to sync a whole dataset, within this window you can unfold the dataset and select/deselect the elements within the dataset. This is useful for data anonymization or simply to send only the meaningful information to the destination instance.


After selecting the elements that you want to sync, start the process, clicking on the sync button ( bottom right corner) The synchronization modal window will appear to guide in 6 steps. Let's explore the process:

Manual%20Sync%20Data%20Aggregated%20data/wizzard_exported.gif

  1. Select the OU for which datasets will be synchronized,
  2. Select the period of data that need to be synchronized
  3. Category options. Optional manual selection.
  4. Aggregate (optional)
  5. Select the destination instance
  6. Finally run the synchronization or save it as a rule

Guided process

1 Organisation units

This first step allows you to filter the aggregated data based on the OU where they it was registered. Click on each OU that you need to sync or use the selectors on the right to help you with multiple selections.

Manual%20Sync%20Data%20Aggregated%20data/dataset_sync_OU.png


When selecting an organisation unit (OU) in the tree: observe that selecting a parent OU doesn't mean that you are selecting all its children. This behaviour is different when you choose to aggregate data on.step 4


2 Period

At this step you select the aggregated data based on its date. You can choose a pre-defined period of time or introduce the start and end date.

Manual%20Sync%20Data%20Aggregated%20data/Period.png

3 Category options

You can choose between syncing all attribute category options or go for a manual selection and decide which one.

When doing a manual selection, a new panel appears with the subset of category options that are linked to the metadata that you have selected.

Only data with the categories selected on the right-side panel will be pushed to the destination instance

Manual%20Sync%20Data%20Aggregated%20data/Untitled.png

4 Aggregation

Even though we are already syncing aggregated data, at this step we can perform an additional aggregation.

When you enable it, this aggregation will happen in two dimensions: Temporal and spatial at the same time. Within this step you choose the temporal aggregation (because the spatial aggregation is defined by the Organisation Units that you selected in the step 1). For instance, let's think about what happens when you select Monthly aggregation in this step and you previously selected three OU.

Manual%20Sync%20Data%20Aggregated%20data/dataset_sync_OU.png

The result is that you will send aggregated data corresponding to the three selected OU and all its children by month. So it takes the OU that are selected on step one and aggregates the information from itself and the children at the level of that OU

If you do not select aggregation the data won't include children OU.

5 Instance Selection

In this step you select the destination instance where the aggregated data will be sent.

Manual%20Sync%20Data%20Aggregated%20data/Untitled%201.png

Advanced options:

  • Dry run: For testing. Try without actually apply changes at the destination instance.
  • New and updates / New / Updates
    • New: only synchronizes new data
    • Updates: Synchronizes only data that has changed from source to destination
    • New and Update: both

6 Summary

This step shows you the list of actions involved in the sync. As in other kinds of synchronization you can choose between:

  • Synchronize now
  • Save as a rule
  • Or download the JSON containing the file

Synchronization Results

When the process is finished, the "Synchronization results report" provides a summary of the result with the following information:

  • Summary: How many values where synchronized (deleted, updated, deleted, created) or ignored
  • Data Statistics: The list of the data elements created/updated/deleted... with the amount of data values (Not disaggregated by category options)
  • JSON Response: The raw response from the destination instance.

Manual%20Sync%20Data%20Aggregated%20data/Untitled%202.png

Manual%20Sync%20Data%20Aggregated%20data/Untitled%203.png

Manual%20Sync%20Data%20Aggregated%20data/Untitled%204.png


The reports from all the synchronization attempts are saved at the history section


Clone this wiki locally