plot_wordcloud | R Documentation |
Plots a word cloud for columns in the metadata that don't have a controlled vocabulary. I guess maybe I should start using a controlled vocabulary.
plot_wordcloud(
sheet,
col_use = title,
species_use = "all",
year_min = NA,
year_max = NA,
other_stop_words = NULL,
seed = 1,
scale = c(6, 0.1),
min.freq = 1,
...
)
sheet |
The sheet read in from Google Sheets as a tibble. |
col_use |
Which column to break down into words for word cloud. Tidyeval is supported. |
species_use |
Which species to filter by. |
year_min |
Minimum year. The range of years will be >= year_min and < year_max. |
year_max |
Maximum year. |
other_stop_words |
A character vector for other stop words besides the stop_words data frame that comes with tidytext. |
seed |
Random seed to use. |
scale |
A vector of length 2 indicating the range of the size of the words. |
min.freq |
words with frequency below min.freq will not be plotted |
... |
Other arguments passed to |
A html widget.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.