get_events | R Documentation |
Extract events from a DHIS2 program.
get_events( baseurl = NULL, program_id = NULL, startDate = NULL, endDate = NULL, user = NULL, pass = NULL, paging = TRUE, pageSize = 50, pageNumber = 1, ... )
baseurl |
the server url. |
program_id |
the program ID. |
startDate |
the date in |
endDate |
the date in |
user |
string. the user account used in the pass key. |
pass |
string. password of the user account, used in the pass key. |
paging |
logical. Whether to page the results or not. By default, the return events are paged. |
pageSize |
numeric. indicating the size of the page. default is |
pageNumber |
Numeric. Specifies the page number to be returned. default is page |
... |
Additional params passed to |
A S3 object containing a content, endpoint and the parsed response.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.