channel.demographics | R Documentation |
Query the Analytics API for channel demographics metrics
channel.demographics(channel_id, start_date = NULL, end_date = NULL)
channel_id |
YouTube channel ID |
start_date |
Beginning date of the query date range. YYYY-mm-dd |
end_date |
End date of the query date range. YYYY-mm-dd |
data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.