Learn R Programming

readepi (version 1.0.4)

get_org_unit_as_long: Transform the organisation units data frame from large to long format

Description

Transform the organisation units data frame from large to long format

Usage

get_org_unit_as_long(login, org_units = NULL)

Value

A data with three columns corresponding to the organisation unit names, IDs, and levels

Arguments

login

The login object

org_units

A data frame of all the organisation units obtained from the get_organisation_units() function. Default is NULL.