Unable to retrieve Analytics Data using API through the dataValueSet format.

Dear All,

I am trying to retrieve analytics data via a web API using the dataValueSet formatting. Unfortunately this has not been successful (Version 2.25). Could this be a general issue with DHIS2. However, this works with the demo DHIS2 instance.

http://dhis.mets.or.ug/api/analytics/dataValueSet.json?dimension=ou:akV6429SUqu&dimension=dx:WlBawBVNdeT&dimension=pe:2016W10

or, do we need to do something to enable it to work?

image

image

···

You can do anything, but not everything.

Did you run Analytics first?

···

On Dec 17, 2016 11:14 AM, “Ocaya Stephen” stephocay@gmail.com wrote:

Dear All,

I am trying to retrieve analytics data via a web API using the dataValueSet formatting. Unfortunately this has not been successful (Version 2.25). Could this be a general issue with DHIS2. However, this works with the demo DHIS2 instance.

http://dhis.mets.or.ug/api/analytics/dataValueSet.json?dimension=ou:akV6429SUqu&dimension=dx:WlBawBVNdeT&dimension=pe:2016W10

or, do we need to do something to enable it to work?

You can do anything, but not everything.


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Yes. BUT it seems it does not work with version 2.24 or so. I am doing an upgrade from 2.24 and will give an update shortly.

Regards

···

On Sat, Dec 17, 2016 at 1:32 PM, Knut Staring knutst@gmail.com wrote:

Did you run Analytics first?

On Dec 17, 2016 11:14 AM, “Ocaya Stephen” stephocay@gmail.com wrote:

Dear All,

I am trying to retrieve analytics data via a web API using the dataValueSet formatting. Unfortunately this has not been successful (Version 2.25). Could this be a general issue with DHIS2. However, this works with the demo DHIS2 instance.

http://dhis.mets.or.ug/api/analytics/dataValueSet.json?dimension=ou:akV6429SUqu&dimension=dx:WlBawBVNdeT&dimension=pe:2016W10

or, do we need to do something to enable it to work?

You can do anything, but not everything.


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

You can do anything, but not everything.

Hi Knut and All,

I have just upgraded from 2.24 to 2.25 and confirms now that the analytics/dataValueSet works.

May be for those having a similar issue, you might want to do an upgrade.

Regards.

···

On Sat, Dec 17, 2016 at 1:36 PM, Ocaya Stephen stephocay@gmail.com wrote:

Yes. BUT it seems it does not work with version 2.24 or so. I am doing an upgrade from 2.24 and will give an update shortly.

Regards

On Sat, Dec 17, 2016 at 1:32 PM, Knut Staring knutst@gmail.com wrote:

Did you run Analytics first?

You can do anything, but not everything.

On Dec 17, 2016 11:14 AM, “Ocaya Stephen” stephocay@gmail.com wrote:

Dear All,

I am trying to retrieve analytics data via a web API using the dataValueSet formatting. Unfortunately this has not been successful (Version 2.25). Could this be a general issue with DHIS2. However, this works with the demo DHIS2 instance.

http://dhis.mets.or.ug/api/analytics/dataValueSet.json?dimension=ou:akV6429SUqu&dimension=dx:WlBawBVNdeT&dimension=pe:2016W10

or, do we need to do something to enable it to work?

You can do anything, but not everything.


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

You can do anything, but not everything.

Hi Ocaya,

this feature was introduced in 2.25, per the release notes:

https://docs.google.com/document/d/1OPqo7LXqm2y2KAGlDhGGn6Gn-qsHQp1mLe8_L555ebA/pub

regards,

Lars

···

On Sat, Dec 17, 2016 at 12:24 PM, Ocaya Stephen stephocay@gmail.com wrote:

Hi Knut and All,

I have just upgraded from 2.24 to 2.25 and confirms now that the analytics/dataValueSet works.

May be for those having a similar issue, you might want to do an upgrade.

Regards.


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

On Sat, Dec 17, 2016 at 1:36 PM, Ocaya Stephen stephocay@gmail.com wrote:

Yes. BUT it seems it does not work with version 2.24 or so. I am doing an upgrade from 2.24 and will give an update shortly.

Regards

You can do anything, but not everything.

On Sat, Dec 17, 2016 at 1:32 PM, Knut Staring knutst@gmail.com wrote:

Did you run Analytics first?

You can do anything, but not everything.

On Dec 17, 2016 11:14 AM, “Ocaya Stephen” stephocay@gmail.com wrote:

Dear All,

I am trying to retrieve analytics data via a web API using the dataValueSet formatting. Unfortunately this has not been successful (Version 2.25). Could this be a general issue with DHIS2. However, this works with the demo DHIS2 instance.

http://dhis.mets.or.ug/api/analytics/dataValueSet.json?dimension=ou:akV6429SUqu&dimension=dx:WlBawBVNdeT&dimension=pe:2016W10

or, do we need to do something to enable it to work?

You can do anything, but not everything.


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

Thanks Lars. However documentations for the different versions seem to talk of it being possible.

May be the manuals for different versions need to be different as well and not using the latest available manual.

Thanks again

···

On Dec 17, 2016 18:12, “Lars Helge Øverland” lars@dhis2.org wrote:

Hi Ocaya,

this feature was introduced in 2.25, per the release notes:

https://docs.google.com/document/d/1OPqo7LXqm2y2KAGlDhGGn6Gn-qsHQp1mLe8_L555ebA/pub

regards,

Lars

On Sat, Dec 17, 2016 at 12:24 PM, Ocaya Stephen stephocay@gmail.com wrote:

Hi Knut and All,

I have just upgraded from 2.24 to 2.25 and confirms now that the analytics/dataValueSet works.

May be for those having a similar issue, you might want to do an upgrade.

Regards.


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

On Sat, Dec 17, 2016 at 1:36 PM, Ocaya Stephen stephocay@gmail.com wrote:

Yes. BUT it seems it does not work with version 2.24 or so. I am doing an upgrade from 2.24 and will give an update shortly.

Regards

You can do anything, but not everything.

On Sat, Dec 17, 2016 at 1:32 PM, Knut Staring knutst@gmail.com wrote:

Did you run Analytics first?

You can do anything, but not everything.

On Dec 17, 2016 11:14 AM, “Ocaya Stephen” stephocay@gmail.com wrote:

Dear All,

I am trying to retrieve analytics data via a web API using the dataValueSet formatting. Unfortunately this has not been successful (Version 2.25). Could this be a general issue with DHIS2. However, this works with the demo DHIS2 instance.

http://dhis.mets.or.ug/api/analytics/dataValueSet.json?dimension=ou:akV6429SUqu&dimension=dx:WlBawBVNdeT&dimension=pe:2016W10

or, do we need to do something to enable it to work?

You can do anything, but not everything.


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Hi Ocaya,

if you have a look at the documentation page you will find docs for each release there:

https://www.dhis2.org/documentation

As an example, the analytics docs for version 2.24 does not include the analytics data value set resource:

https://ci.dhis2.org/docs/2.24/en/developer/html/ch01s34.html

best regards,

Lars

···

On Sun, Dec 18, 2016 at 11:12 AM, Ocaya Stephen stephocay@gmail.com wrote:

Thanks Lars. However documentations for the different versions seem to talk of it being possible.

May be the manuals for different versions need to be different as well and not using the latest available manual.

Thanks again

On Dec 17, 2016 18:12, “Lars Helge Øverland” lars@dhis2.org wrote:

Hi Ocaya,

this feature was introduced in 2.25, per the release notes:

https://docs.google.com/document/d/1OPqo7LXqm2y2KAGlDhGGn6Gn-qsHQp1mLe8_L555ebA/pub

regards,

Lars

On Sat, Dec 17, 2016 at 12:24 PM, Ocaya Stephen stephocay@gmail.com wrote:

Hi Knut and All,

I have just upgraded from 2.24 to 2.25 and confirms now that the analytics/dataValueSet works.

May be for those having a similar issue, you might want to do an upgrade.

Regards.


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

On Sat, Dec 17, 2016 at 1:36 PM, Ocaya Stephen stephocay@gmail.com wrote:

Yes. BUT it seems it does not work with version 2.24 or so. I am doing an upgrade from 2.24 and will give an update shortly.

Regards

You can do anything, but not everything.

On Sat, Dec 17, 2016 at 1:32 PM, Knut Staring knutst@gmail.com wrote:

Did you run Analytics first?

You can do anything, but not everything.

On Dec 17, 2016 11:14 AM, “Ocaya Stephen” stephocay@gmail.com wrote:

Dear All,

I am trying to retrieve analytics data via a web API using the dataValueSet formatting. Unfortunately this has not been successful (Version 2.25). Could this be a general issue with DHIS2. However, this works with the demo DHIS2 instance.

http://dhis.mets.or.ug/api/analytics/dataValueSet.json?dimension=ou:akV6429SUqu&dimension=dx:WlBawBVNdeT&dimension=pe:2016W10

or, do we need to do something to enable it to work?

You can do anything, but not everything.


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

Thanks Lars.

Best

···

On Dec 19, 2016 09:42, “Lars Helge Øverland” lars@dhis2.org wrote:

Hi Ocaya,

if you have a look at the documentation page you will find docs for each release there:

https://www.dhis2.org/documentation

As an example, the analytics docs for version 2.24 does not include the analytics data value set resource:

https://ci.dhis2.org/docs/2.24/en/developer/html/ch01s34.html

best regards,

Lars

On Sun, Dec 18, 2016 at 11:12 AM, Ocaya Stephen stephocay@gmail.com wrote:

Thanks Lars. However documentations for the different versions seem to talk of it being possible.

May be the manuals for different versions need to be different as well and not using the latest available manual.

Thanks again


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

On Dec 17, 2016 18:12, “Lars Helge Øverland” lars@dhis2.org wrote:

Hi Ocaya,

this feature was introduced in 2.25, per the release notes:

https://docs.google.com/document/d/1OPqo7LXqm2y2KAGlDhGGn6Gn-qsHQp1mLe8_L555ebA/pub

regards,

Lars

On Sat, Dec 17, 2016 at 12:24 PM, Ocaya Stephen stephocay@gmail.com wrote:

Hi Knut and All,

I have just upgraded from 2.24 to 2.25 and confirms now that the analytics/dataValueSet works.

May be for those having a similar issue, you might want to do an upgrade.

Regards.


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

On Sat, Dec 17, 2016 at 1:36 PM, Ocaya Stephen stephocay@gmail.com wrote:

Yes. BUT it seems it does not work with version 2.24 or so. I am doing an upgrade from 2.24 and will give an update shortly.

Regards

You can do anything, but not everything.

On Sat, Dec 17, 2016 at 1:32 PM, Knut Staring knutst@gmail.com wrote:

Did you run Analytics first?

You can do anything, but not everything.

On Dec 17, 2016 11:14 AM, “Ocaya Stephen” stephocay@gmail.com wrote:

Dear All,

I am trying to retrieve analytics data via a web API using the dataValueSet formatting. Unfortunately this has not been successful (Version 2.25). Could this be a general issue with DHIS2. However, this works with the demo DHIS2 instance.

http://dhis.mets.or.ug/api/analytics/dataValueSet.json?dimension=ou:akV6429SUqu&dimension=dx:WlBawBVNdeT&dimension=pe:2016W10

or, do we need to do something to enable it to work?

You can do anything, but not everything.


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp