getDataPackOrgUnits | R Documentation |
Queries DATIM to extract tibble of Org Units approved for use in Data Pack target setting.
getDataPackOrgUnits(
include_mil = TRUE,
include_DREAMS = TRUE,
include_TSNUS = TRUE,
additional_fields = NULL,
use_cache = TRUE,
cop_year = NULL,
d2_session = dynGet("d2_default_session", inherits = TRUE)
)
include_mil |
Logical. If |
include_DREAMS |
Logical. If |
include_TSNUS |
Logical. If |
additional_fields |
Character string of any fields to return from DATIM API other than those returned by default. |
use_cache |
If |
cop_year |
COP Year to use for tailoring functions. Remember, FY22 targets = COP21. |
d2_session |
DHIS2 Session id. R6 datimutils object which handles authentication with DATIM. |
Tibble of Data Pack Org Units.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.