dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #18728
[Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 572: Minor alteration to RCurl report table example
------------------------------------------------------------
revno: 572
committer: Jason P. Pickering <jason.p.pickering@xxxxxxxxx>
branch nick: dhis2-docbook-docs
timestamp: Thu 2012-08-16 10:47:19 +0200
message:
Minor alteration to RCurl report table example
modified:
src/docbkx/en/dhis2_r.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_r.xml'
--- src/docbkx/en/dhis2_r.xml 2012-06-01 06:01:20 +0000
+++ src/docbkx/en/dhis2_r.xml 2012-08-16 08:47:19 +0000
@@ -445,14 +445,10 @@
<screen>#We are going to need these two libraries
require(RCurl)
require(XML)
-#Just a URL with some data
+#This is a URL endpoint for a report table which we can
+#get from the WebAPI.
-url<-"https://apps.dhis2.org/dev/api/reportTables/data.csv?
-de=fbfJHSPpUQD
-&de=cYeuwXTCPkU
-&in=Uvn6LCg7dVU
-&ou=O6uvpzGd5pu
-&last12Months=true"
+url<-"https://apps.dhis2.org/dev/api/reportTables/KJFbpIymTAo/data.csv"
#Lets get the response and we do not need the headers
#This site has some issues with its SSL certificate
#so lets not verify it.