yt.search: Search YouTube for a key term with a date range

Description Usage Arguments Value

Description

This function makes use of the yt.GetSearch function in the ytcol package and pulls videos for the set term within the set date range. The number of videos returned is set with the max_results parameter.

Usage

1
2
yt.Search(term = NULL, published_before = NULL, published_after = NULL,
  max_results = 50)

Arguments

term

Character. Search term. Required.

published_before

Date. Optional. RFC 339 Format. Example, "1970-01-01T00:00:00Z"

published_after

Date. Optional. RFC 339 Format. Example, "1970-01-01T00:00:00Z"

max_results

Integer. Maximum number of results returned. Can be between 1 and 50. Default is 50.

Value

A dataframe with 6 variables: video_ID, dateTime, channel_ID, title, description, channel_title


Vintonm49/ytcol documentation built on May 27, 2019, 7:42 a.m.