View source: R/audience_retention.R
video_audience_retention | R Documentation |
Returns audience retention percentages for a video. By default this function will return audience retention rates for organic views.
video_audience_retention(videoId = NULL, audienceType = "ORGANIC", ...)
videoId |
Required. String. Id of YouTube video. |
audienceType |
Required. String. Supported values are |
... |
Addt. arguments passed to |
data.frame
## Not run:
video_audience_retention(videoId = "dQw4w9WgXcQ")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.