View source: R/pivot_results.R
pivot_results | R Documentation |
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.
pivot_results(df)
df |
data frame after it's been aggregated |
data frame with a cumulative column (when/where results exist)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.