if (FALSE) {
# using query directly and supplying the list
query(or = list(
list(
field_name = "hashtag_name",
operation = "EQ",
field_values = "rstats"
),
list(
field_name = "keyword",
operation = "EQ",
field_values = list("rstats", "API")
)
))
# starting an empty query and building it up using the query_* functions
query() |>
query_or(field_name = "hashtag_name",
operation = "EQ",
field_values = "rstats") |>
query_or(field_name = "keyword",
operation = "IN",
field_values = c("rstats", "API"))
}
Run the code above in your browser using DataLab