metadata-helpers {khisr} | R Documentation |
DHIS2 Metadata Helper Functions
Description
These functions simplify retrieving data from specific DHIS2 API endpoints
using get_metadata()
.
Usage
get_categories(...)
get_category_combos(...)
get_category_option_combos(...)
get_category_option_group_sets(...)
get_category_option_groups(...)
get_category_options(...)
get_data_element_group_sets(...)
get_data_element_groups(...)
get_data_elements(...)
get_data_sets(...)
get_user_groups(...)
get_indicator_group_sets(...)
get_indicator_groups(...)
get_indicators(...)
get_option_group_sets(...)
get_option_groups(...)
get_option_sets(...)
get_options(...)
get_organisation_unit_groupsets(...)
get_organisation_unit_groups(...)
get_organisation_units(...)
get_organisation_unit_levels(...)
get_dimensions(...)
get_period_types(...)
get_user_profile()
Arguments
... |
Arguments passed on to
|
Value
A tibble containing the DHIS2 metadata response.
Examples
# Get all organisation units
get_organisation_units()
# Get all data elements
get_data_elements()
# Get data elements by element ids
get_data_elements(id %.in% c('VR7vdS7P0Gb', 'gQro1y7Rsbq'))
# Get datasets by name with the word 'MOH 705'
get_data_sets(name %.like% 'MOH 705')
[Package khisr version 1.0.5 Index]