dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #01934
Re: Help with charts/dashboard
You can probably use the Web-API and connect to an external portal (drupal
etc)
http://data.hiskenya.org/ - is a good example of that. Another one is -
https://dhis2vn.org/
1. you can use the http://apps.dhis2.org/dev/api/users.json and look at the
pager->total
But this is all the users registered in the system. If you have one user
per orgunit, this will work
A more robust way would be to get this XML -
http://apps.dhis2.org/dev/api/metaData.xml?assumeTrue=false&users=true
and then do a XPath expression for unique organisationUnit code=<code>
2. This is available out-of-the-box. Under Services->Reports->Reporting
Rate Summary.
I am not sure there is an easy way to get this out to a portal, but may be
someone else knows.
---
Regards,
Saptarshi PURKAYASTHA
My Tech Blog: http://sunnytalkstech.blogspot.com
You Live by CHOICE, Not by CHANCE
On 20 March 2013 01:47, Alvin Marcelo <alvin.marcelo@xxxxxxxxx> wrote:
> Dear all,
>
> I want to display the following charts on the frontpage:
>
> 1. how many clinics have accounts in DHIS2
>
> 2. how many reports DHIS2 has received from the clinics (reporting rate?)
>
> Can someone teach us how? Thanks...
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help : https://help.launchpad.net/ListHelp
>
>
Follow ups
References