Description Usage Arguments Details
View source: R/report_support.R
This function can merge 3 column-like dataframes into 1 dataframe with 3 columns.
1 | merge_outcome(now, previous = NULL, last = NULL, bywhat)
|
now |
The report month, like 2018/06. |
previous |
One year ago of report month, like 2017/06. Or caculated by function caculate_increaseratio. |
last |
One month ago of report month, like 2018/05. Or caculated by function caculate_increaseratio. |
bywhat |
The theme name, like "citygroup" or "portroad". |
During report writing, merging now-value, previous-value, last-value into 1 dataframe is quite useful and concise. This function receive 3 column-like dataframes. Each column-like dataframes has two columns, one is "theme" like "citygroup" or "portroad". These 3 dataframes has the same theme. The other is Wmean. It's probably caculated by function caculate_carsmean or caculate_increaseratio.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.