View source: R/getDataValueSets.R
getDataValueSets | R Documentation |
Used to read DHIS 2 data using the data value set endpoint
getDataValueSets(
variable_keys = NULL,
variable_values = NULL,
d2_session = dynGet("d2_default_session", inherits = TRUE),
retry = 1,
timeout = 180,
verbose = FALSE,
quiet = TRUE
)
d2_session |
R6 datimutils object which handles authentication with DATIM |
retry |
number of times to retry |
timeout |
number of seconds to wait during call |
verbose |
return raw content with data |
quiet |
Echo the URL which is called to the console if TRUE. |
keys |
character vector - data value set parameter keys (e.g. "dataSet", "period") |
values |
character vector - values marching the key from keys (e.g. "Abcde123456", "2019Q1" |
Data frame with the data requested
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.