Description Usage Arguments Examples
View source: R/get_mrr_metrics.R
get_mrr_metrics(metric = "all", start_date = "2019-01-01", end_date = "2019-03-01")
returns a data frame with results.
1 2 3 4 5 6 7 | get_mrr_metrics(
metric = "all",
start_date,
end_date,
interval = "month",
plans = NULL
)
|
metric |
The endpoint that specifies the type of metric, e.g. all, mrr, customer-count, ltv, customer-churn-rate, mrr-churn-rate |
start_date |
The start date of the required period of data. An ISO-8601 formatted date, e.g. 2015-05-12. |
end_date |
The end date of the required period of data. An ISO-8601 formatted date, e.g. 2015-05-12. |
interval |
One of day, week, or month (default). |
plans |
A comma-separated list of plan names as configured in your ChartMogul account to filter the results to. Note that spaces must be url-encoded and the names are case-sensitive. |
1 | df <- get_mrr_metrics(metric = "all", start_date = "2019-01-01", end_date = "2019-03-01", interval = "day")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.