Description Usage Arguments Value Examples
Convert the JSON/list sentiment
response into a flattened data frame.
1 | flatten_sentiment(sentiment_list)
|
sentiment_list |
The |
A flattened data frame.
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
sample_post <- gcnlp_post(text_body = "Google, headquartered in Mountain View, unveiled
the new Android phone at the Consumer Electronic Show.
Sundar Pichai said in his keynote that users love
their new Android phones.",
extract_syntax = TRUE,
extract_entities = TRUE,
extract_document_sentiment = TRUE)
flatten_sentiment(sentiment_list = sample_post$content$sentiment)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.