Description Usage Arguments Details
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()).
1 | Master.Minus.Development(df, query)
|
df |
data.frame, query data |
query |
string, name of query |
cols |
unquoted column names |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.