multi_brand_timeline | R Documentation |
This endpoint is similar to simple timeline files, but instead of representing the data for one brand only it can contaim more than one brand per file.
multi_brand_timeline(brand, start_date, end_date, scoring, moving_average = 1,
period_type = "day", period_size = 1,
endpoint = "timeline/multi-brand-file.csv")
brand |
A string of the format |
start_date |
A string in the format |
end_date |
A string in the format |
scoring |
A string containing the scoring option to use (default: "total", "aware", "opinion"). |
moving_average |
A number of the moving_average, in days, to be applied. |
period_type |
A string for the type of period, if rollling up the datapoints (default: "day", "week", "month", "year"). |
period_size |
A number for the size of the period (default: 1). |
endpoint |
A string containing the appropriate endpoint. |
It's also possible to roll up the data in periods - for this, see
period_type
and period_size
parameters. In this case, when
periodizing for more than "every 1 day" (which is the default, i.e., no
roll-up done), the first date of each period is used in the resulting data.
A tibble of multiple brand datapoints.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.