Description Usage Arguments Value See Also Examples
Given input text, returns a probability distribution over the political alignment of the speaker.
1 | twitter_engagement(text, version = NULL, ...)
|
text |
text for analysis |
version |
for api version |
... |
additional arguments to passed to request |
float engagement score
1 2 3 4 5 6 | text <- "I am so proud to stand here today
as Prime Minister of four nations
in one United Kingdom."
engagement <- twitter_engagement(text)
cat(sprintf("This text has twitter engagement of %f",
engagement))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.