Description Usage Arguments Value
Colours a ggpage based on an insight function
1 | struct_pageview(.data, col_name, num_terms, term_index, word_size, palette)
|
.data |
a dataframe containing "word" and insight columns as per the output of the get_(term|aggregate)_insight wrapper function |
col_name |
symbol name of the insight column intended to colour plot |
num_terms |
the number of terms to visualise |
term_index |
which term to start the visualisation from |
word_size |
integer size of words |
palette |
determine coloration of palette (not yet implemented) |
ggplot object as per ggpage
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.