conversation_landscape | R Documentation |
Multiple tabs - one for cleaning and selecting, others for summary plots.
conversation_landscape(
data,
...,
id,
text_var,
colour_var,
cleaned_text_var,
date_var,
sentiment_var,
size = 2,
x_var = V1,
y_var = V2,
type = "scattergl",
colour_mapping = NULL
)
data |
Data Frame |
... |
Additional Columns to select |
id |
Your ID column, if there is not one in your data, create one |
text_var |
The original text variable for display in the data table |
colour_var |
The variable you wish to map colour to (should be a string or factor) |
cleaned_text_var |
The cleaned text variable for bigram and token plots |
date_var |
Your date variable |
sentiment_var |
Sentiment variable |
x_var |
Variable which contains your x co-ordinates |
y_var |
Variable which contains your y co-ordinates |
type |
Type of the plotly output, unlikely to change from 'scattergl' |
colour_mapping |
Which colours the colour variable should be mapped to |
point_size |
Size of the points in the plotly output |
plotly_height |
height of the plotly output |
A shiny application
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.