adorn_weights: Adorn DAA Indicator Data with Weighted Metrics for All Levels

View source: R/adorn-weights.R

adorn_weightsR Documentation

Adorn DAA Indicator Data with Weighted Metrics for All Levels

Description

Adorn DAA Indicator Data with Weighted Metrics for All Levels

Usage

adorn_weights(
  daa_indicator_data = NULL,
  weights_list = c("OU", "SNU1", "SNU2")
)

Arguments

daa_indicator_data

Dataframe containing DAA indicator data.

weights_list

A list containing the levels at which concordance metrics should be calculated. OU level is the default, calculating sites as a share of the overall country. SNU levels 1-3 are supported, as well as EMR, which groups by whether or not a facility has an EMR.

Value

A dataframe of DAA Indicator data with weightings and weighted concordance calculated fo all requested levels.


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