If there is estimated data, then the estimated time series should treat non-estimated periods as gaps and non-estimated time-series should treat estimated periods as gaps. If there is not an estimatedPeriods field, then there will be no gaps due to estimated data for this time series.
1 2 | createGapsFromEstimatedPeriods(timeSeries, timezone, isDV = FALSE,
inverted = FALSE)
|
timeSeries |
list of points (data frame with at least time and values columns) and estimatedPeriods (data frame with startDate and endDate columns) |
timezone |
string giving the timezone |
isDV |
logical saying whether or not the time series is made of daily values; default is FALSE |
inverted |
logical, you are treating estimated time periods as gaps (FALSE, default) or you are treating non-estimated time periods as gaps (TRUE). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.