yt.Wordcloud: Wordcloud of Comments from YouTube

Description Usage Arguments Value

View source: R/ytAnalytics.R

Description

Create a wordcloud from a dataframe that includes the text of comments pulled from YouTube. Input dataframe must have a column named "text_original" that contains the comments.

Usage

1
2
yt.Wordcloud(comments = NULL, max_words = 10, remove = NULL,
  stopwords = "english")

Arguments

comments

Character. Name of dataframe in the environment that includes the comments in a column named "text_original". Required.

max_words

Integer. Number of words to display in the wordcloud. Default is 10.

remove

Comma separated list of words to remove from the words displayed in the wordcloud. Optional.

stopwords

Character. Stopwords are common words in a language such as <e2><80><9c>the<e2><80><9d> and <e2><80><9c>this<e2><80><9d>. Set the langauge to eliminate common words in that language Takes one of the following values: 'english','danish','dutch','finnish','french','german','hungarian', 'italian', 'norwegian', 'portuguese', 'russian', 'spanish', 'swedish'. Default is 'english'.

Value

Plots a wordcloud.


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