wh_broadcasts.RdGet access to structured transcripts data from broadcasts.
wh_broadcasts(token, q, ts = (Sys.time() - (3 * 24 * 60 * 60)), highlight = NULL, latest = NULL, quiet = !interactive())
| token | your token as returned by |
|---|---|
| q | a string query containing the filters that define which transcript lines will be returned. |
| ts | The "ts" (timestamp) parameter is telling the system to return results that were
crawled after this timestamp ( |
| highlight | return the fragments in the review that matched the textual Boolean query.
The matched keywords will be surrounded by |
| latest | this will return the latest 100 crawled posts matching your query (**NOT** recommended). |
| quiet | if |
See official documentation for valid filters.
# NOT RUN { token <- wh_token("xXX-x0X0xX0X-00X") rstats <- wh_broadcasts(token, q = '"R programming language"') %>% # use quote marks! wh_collect() token %>% wh_broadcasts(token, q = 'Trump OR "US President"') %>% wh_paginate(p = 2) # 2 additional pages of results wh_collect() -> trump # }