Learn R Programming

readepi (version 1.0.4)

get_org_units: Retrieve DHIS2 organization units, along with their IDs, names, parent IDs, and levels.

Description

Retrieve DHIS2 organization units, along with their IDs, names, parent IDs, and levels.

Usage

get_org_units(login)

Value

A data frame of organization units with the following fields: organisation unit id and name, as well as the corresponding parent organisation unit id, and level.

Arguments

login

A httr2_response object returned by the dhis2_login() function