Master.Minus.Development: Calculate Master Minus Development, Include as additional...

Description Usage Arguments Details

Description

This calculation essentially introduces a third key under the "Branch" column. The three keys are "Master", the name of the development branched, and "Master.Minus.Develoment". Note that 'branch' is an attribute added to project data via a mapping file in the transformation functions (see GCAMFigsBase()).

Usage

1

Arguments

df

data.frame, query data

query

string, name of query

cols

unquoted column names

Details

Spread is used to separate the "Master" and "Development" values into separate columns, which makes calculating the difference possible.

Gather collapses the specified columns into a set of keys stored under branch


xavier-gutierrez/validation_figures documentation built on May 24, 2019, 9:58 p.m.