Description Usage Arguments Value Examples
View source: R/mlr_chartdata.R
Converts key:value pairs into ChartData specification written by developers at BigDatr
1 | mlr_chart_data(dataframe, labels = ...)
|
dataframe |
the data to be used for rows. Must be a column for each key:value pair with column name as the key and row as the value. |
labels |
a 'c()' must be passed for each label you are assigning in columns. |
Outputs a JSON structure with Key:Value pairs in rows and columns. This JSON structure can then be written to a file, s3, database etc. This function will not perform this final step.
1 | mlr_chart_data(no_of_users, c("Date", "Users"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.