Phippsy/brandwatchR

Snippets not showing

Opened this issue · 0 comments

I was able to pull data for a specific project and query, and all other fields appear to pull successfully, but the snippet does not appear (it shows as NA). When I use a curl statement to pull the same data via the API, the snippets are successfully pulled.

Here is the sample of the code I am running
library(brandwatchR)
library(jsonlite)
library(dplyr)
library(lubridate)

bwr_auth(un = "#############@##############", pw = rstudioapi::askForPassword())

my_project <- bwr_projects_get()$id[2]

my_query <- bwr_query_get(project_id = my_project)$id[4] #4

my_mentions_test <- bwr_mentions_get(project_id = my_project,
query_id = my_query,
filters = list(gender = "female", sentiment = 'neutral'), #, twitterVerified = TRUE),
order_by = 'sentiment', order_direction = 'asc',
page = 0,
date_range = c('2019-01-30', '2019-01-31'))