wh_collect.RdCollect results from webhoser object.
wh_collect(wh, flatten = FALSE) # S3 method for webhoser wh_collect(wh, flatten = FALSE)
| wh | object of class |
|---|---|
| flatten | whether to flatten the collected results. |
nested data.frame if flatten = FALSE. See
official documentation
flatten ignores sentiment of entities.
# NOT RUN {
token <- <- wh_token("xXX-x0X0xX0X-00X")
token %>%
wh_news(q = "R programming language") %>%
wh_paginate(p = 1) %>%
wh_collect -> rstats
# }