Description Usage Arguments Details Value Examples
This function returns one or more metric values for sound bites matching the specified topic, depending on the time
argument.
1 2 3 4 5 6 7 | nb_metric_values(
topic_id,
metricSeries = c("TotalBuzz", "TotalBuzzPost", "PositiveSentiment",
"NegativeSentiment"),
time = c("All", "Month", "Week", "Day", "Hour", "QuarterHour", "Minute"),
...
)
|
topic_id |
the topic id |
metricSeries |
one of "TotalBuzz", "TotalBuzzPost", "TotalReplies", "TotalReposts", "OriginalPosts", "Impressions", "PositiveSentiment", "NegativeSentiment", "NeutralSentiment", "NetSentiment", "Passion", "UniqueAuthor", "StrongEmotion", "WeakEmotion", "EngagementDislikes", "EngagementLikes", "EngagementComments", "EngagementShares", "EngagementTotal", "EngagementRatio", and "EngagementViews" |
time |
one of "All", "Month", "Week", "Day", "Hour", "QuarterHour", "Minute" |
... |
additional arguments. See here: https://nb360.netbase.com/Enterprise/Insight_API/methods/04_metricvalues_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...
a tibble
1 2 3 4 5 6 | ## Not run:
output <- nb_metric_values(topic_id = 1417805, time = "Month", metricSeries = "Impressions")
output <- nb_metric_values(topic_id = 1417805, time = "Day", metricSeries = "TotalBuzz", genders = "Female")
output <- nb_metric_values(topic_id = 1423897, time = "Week", metricSeries = c("TotalBuzz", "TotalBuzzPost", "TotalReplies"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.