get_attribute_table: Fetch MOH ID and attributes from DATIM

View source: R/get-attributes.R

get_attribute_tableR Documentation

Fetch MOH ID and attributes from DATIM

Description

Gets data on site attributes for a specific operating unit from DATIM or DATIM4U, including site name, id, MOH ID, longitude, and latitude.

Usage

get_attribute_table(
  ou_uid,
  d2_session = dynGet("d2_default_session", inherits = TRUE)
)

Arguments

ou_uid

UID for the Operating Unit whose data is being queried.

d2_session

R6 session object.

Value

A dataframe of OU site-level attributes including name, id, MOH ID, and longitude and latitude of the site.


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