Description Usage Arguments Details Examples
Get access to structured transcripts data from broadcasts.
1 2 | 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.
1 2 3 4 5 6 7 8 9 10 11 12 | ## 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
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.