This function performs sentiment analysis and other text tools on any custom strings that you supply.
1 | om_textscore(.data, method, text, verbose = T)
|
.data |
dataset including text and a personal identifier (must be named 'OMID') |
method |
which method(s) should be applied? Currently supports: "nrc", "bing", "afinn", "textblob", "vader", "sentiment_stanford", "sentimentr_polarity", "affect3d", "receptiveness", and "toxicity" |
text |
specify the text variable which should be scored |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.