pivot_results: Pivot Results

View source: R/pivot_results.R

pivot_resultsR Documentation

Pivot Results

Description

If there are any historic results in the dataset (found in some of the non- PSNUxIM tabs), we want to separate these from the target values to ensure the dataset is tidy and results/targets will not be indavertently aggregated. The reshape will create a cumulative column if results exist in the provided dataframe.

Usage

pivot_results(df)

Arguments

df

data frame after it's been aggregated

Value

data frame with a cumulative column (when/where results exist)


USAID-OHA-SI/tameDP documentation built on March 16, 2024, 6:26 a.m.