Description Usage Arguments Value
Send lines of text to an API to get the sentiment score returned
1 | getSentiment(textdf, apikey = NULL, cogapi = NULL)
|
textdf |
A data.frame consisting of two cols with colnames |
apikey |
Your key for working with Microsoft Cognitive Services |
cogapi |
Your API endpoint for Microsoft Cognitive Services |
response A data.frame with id and a sentiment score
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.