← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 662: Web api, added secion on generating resource, analytics and data mart tables

 

------------------------------------------------------------
revno: 662
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2-docbook-docs
timestamp: Wed 2013-03-06 14:06:55 +0100
message:
  Web api, added secion on generating resource, analytics and data mart tables
modified:
  src/docbkx/en/dhis2_user_man_web_api.xml


--
lp:~dhis2-documenters/dhis2/dhis2-docbook-docs
https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs

Your team DHIS 2 developers is subscribed to branch lp:~dhis2-documenters/dhis2/dhis2-docbook-docs.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs/+edit-subscription
=== modified file 'src/docbkx/en/dhis2_user_man_web_api.xml'
--- src/docbkx/en/dhis2_user_man_web_api.xml	2013-03-06 11:05:16 +0000
+++ src/docbkx/en/dhis2_user_man_web_api.xml	2013-03-06 13:06:55 +0000
@@ -1439,4 +1439,22 @@
         method:<screen>http://&lt;server-url>/api/resourceTables/analytics</screen></para>
     </section>
   </section>
+  <section>
+    <title>Generating resource, analytics and data mart tables</title>
+    <para>DHIS 2 features a set of generated database tables which are used as basis for various
+      system functionality. These tables can be executed immediately or scheduled to be executed at
+      regular intervals through the user interface. They can also be generated through the Web API
+      as explained in this section.</para>
+    <para>The resource tables are used internally by the DHIS 2 application for various analysis
+      functions. These tables are also valuable for users writing advanced SQL reports. They can be
+      generated with a PUT request to the following URL:</para>
+    <screen>http://&lt;server-url>/api/resourceTables</screen>
+    <para>The analytics tables are optimized for data aggregation and used currently in DHIS 2 for
+      the pivot table module. The analytics tables can be generated with a PUT request to:</para>
+    <screen>http://&lt;server-url>/api/resourceTables/analytics</screen>
+    <para>The data mart is tables containing pre-calculated aggregated data which are used by DHIS 2
+      analysis modules and can be used directly by SQL reports. The data mart tables can be
+      generated with a PUT request to:</para>
+    <screen>http://&lt;server-url>/api/resourceTables/dataMart</screen>
+  </section>
 </chapter>