output a ggplot column graph of the top texts from some insight function
1 | score_barplot(.data, y, n = 15, x = text, desc = FALSE)
|
.data |
a dataframe containing "text" and insight columns as per the output of the get_(term|aggregate)_insight wrapper function |
y |
symbol name of the column insight was outputted to |
n |
number of bars to display |
x |
symbol name of column for insight labels |
desc |
bool: show bars in descending order |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.