Description Usage Arguments References Examples
Fetch all structured reviews data from hundreds of review sites
1 2 3 4 | fetch_reviews(query, sort = "relevancy", ts = (Sys.time() - (3 * 24 * 60 *
60)), order = "desc", accuracy_confidence = NULL, highlight = FALSE,
pre_alloc_max = 30, quiet = !interactive(),
token = Sys.getenv("WEBHOSE_TOKEN"), ...)
|
query |
A string query containing the filters that define which reviews will be returned. |
sort |
By default the results are sorted by relevancy. Acceptable values are
" |
ts |
A timestamp to start the search from. If a |
order |
|
accuracy_confidence |
|
highlight |
|
pre_alloc_max |
If you know the approximate number of API calls that will need
to be made to retrieve a full set of records for a query, use that number
here (defaults to |
quiet |
By default, calls in interactive sessions will return fetch status updates.
Use |
token |
Your private access token. You get a unique access token when you sign up.
Store it in an environment variable |
... |
other parameters passed on (eventually) to |
1 2 3 4 | ## Not run:
res <- fetch_reviews("site_category:travel rating:<3 (bug OR roach OR cockroach)")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.