Description Usage Arguments Value Examples
View source: R/query_endpoint.R
This function parses DHIS2 endpoint fields into a character string.
1 |
... |
DHIS2 query parameters. |
A character string.
1 2 3 4 5 6 | # select all the fields
api_fields("*")
# select only name, id, shortName and code
api_fields("name", "id", "shortName", "code")
# select fields in a collection
api_fields("name", organisationUnits = c("name", "id", "code"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.