create_hierarchy: Generates Organisation Unit Hierarchy

View source: R/create-hiearchy.R

create_hierarchyR Documentation

Generates Organisation Unit Hierarchy

Description

Uses the Organisation unit metadata file to generate a wide datatable of the organisation unit hierarchy from Level 3 to Level 7.

Usage

create_hierarchy(
  ou_metadata = NULL,
  aws_s3_bucket = Sys.getenv("AWS_S3_BUCKET"),
  cache_folder = NULL
)

Arguments

ou_metadata

Dataframe containing organisation unit metadata.

aws_s3_bucket

The URL for the particular bucket being accessed.

Value

Dataframe containing wide format organisation unit hierarchy.


pepfar-datim/daa-analytics documentation built on Nov. 24, 2024, 7:31 p.m.