video_time_period {YTAnalytics} | R Documentation |
Video Time Period Views
Description
Returns video views by day or month.
Usage
video_time_period(
videoId = NULL,
period = "day",
endDate = as.character(format(Sys.Date(), "%Y-%m-01")),
...
)
Arguments
videoId |
Required. String. Id of YouTube video. |
period |
Required. Time period to breakdown data by. Supported values are
|
endDate |
Required. String. Data returned up until the last day specified,
so for monthly period the end date must end with a day of |
... |
Addt. arguments passed to |
Value
data.frame
Examples
## Not run:
video_time_period(videoId = "dQw4w9WgXcQ", period = "month")
## End(Not run)
[Package YTAnalytics version 0.1.0 Index]