Automatic update of analytics

(Charles Olupot) #1

Hello,
Functionality
I am looking forward to seeing the analytics tables being updated and/or created automatically when tracked entities, events or datasets are edited, deleted or created.
Reason
I would like dashboards to display latest data, but I have to run analytics tables for the data to update on the dashboards or wait for automatic running of analytics tables.

Can’t there be a possibility of analytics tables being updated and/or created automatically when tracked entities, events or datasets are edited, deleted or created?

Thanks

0 Likes

(Lars Øverland) #2

Hi Charles,

there is currently no such feature, however we are working on supporting that so stay tuned for the upcoming releases (2.32 or 2.33).

You can schedule analytics to run more frequently using a curl script against the resource table > analytics API, at the cost of using more server resources.

https://docs.dhis2.org/master/en/developer/html/dhis2_developer_manual_full.html#webapi_generating_resource_analytics_tables

regards,

Lars

2 Likes