Learn R Programming

readepi (version 1.0.4)

get_org_unit_levels: Extract the DHSI2 organization unit's hierarchical levels.

Description

The level is a numerical number, with 1 referring to the "Country", 2 "Region", and so on to the deepest level denoting the health care reporting unit.

Usage

get_org_unit_levels(login)

Value

A data frame with three columns containing the organization unit's names, IDs, and their hierarchical levels.

Arguments

login

A httr2_response object returned by the dhis2_login() function