Description Usage Arguments Value
View source: R/ytAllChannelVideos.R
This function gets a list of videos from a YouTube channel. It requires the channel ID and allows the user to set a date range, including before a certain date, after a certain date, and between two dates. In the output, the dateTime is when the video was posted and the pullDate is when the function was executed.
1 2 | yt.AllChannelVideos(channel_id = NULL, published_before = NULL,
published_after = NULL)
|
channel_id |
Character. The YouTube channel ID. Cannot be the vanity URL name. Required. |
published_before |
Date. RFC 339 Format. Example, "1970-01-01T00:00:00Z" |
published_after |
Date. RFC 339 Format. Example, "1970-01-01T00:00:00Z" |
A dataframe with multiple variables: videoID, dateTime, channelID, title, description, channelTitle, pullDate,
viewCount, likeCount, dislikeCount, favoriteCount, commentCount, tags, categoryID, liveBroadcastContent,
defaultLanguage, localized.title, localized.description, defaultAudioLanguage
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.