Description Usage Arguments Details Value Examples
This function returns the number of sound bites that match the specified topic, the insight type specified with the categories parameter, and any other specified parameters
1 | nb_insights_count(topic_id, categories = c("Likes", "Phrases"), size = 20, ...)
|
topic_id |
the topic id |
categories |
one or more from "Likes", "Dislikes", "PositiveEmotions", "NegativeEmotions", "PositiveBehaviors", "NegativeBehaviors", "Authors", "Domains", "Sources", "Geolocation", "Languages", "Sentiment", "Phrases", "Hashtags", "OrgProducts", "People", and "Things". |
size |
the number of insight values to return (default is 20) |
... |
additional parameters. See here: https://nb360.netbase.com/Enterprise/Insight_API/methods/03_insightcount_method |
If you exceed your rate limit, it will wait for 80 seconds before trying again, if this fails it will wait for 80 seconds before trying again, if this fails it will wait for 80 seconds before trying again, if this fails it will wait for 80 seconds before trying again, if this fails it will wait for 80 seconds before trying again, if this fails it will wait for 80 seconds before trying again, if this fails it will wait for 80 seconds before trying again, if this fails it will wait for 80 seconds before trying again, if this fails it will wait for 80 seconds before trying again, if this fails it will wait for 80 seconds before trying again...
a list of tibble
s, one for each category.
1 2 3 4 5 | ## Not run:
output <- nb_insights_count(topic_id = 1417805, categories = c("Likes", "Dislikes", "Phrases"), size = 20)
output <- nb_insights_count(topic_id = 1417805, size = 20, categories = c("Likes", "Dislikes", "Sentiment", "Phrases", "Hashtags", "OrgProducts", "People", "Things"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.