sort_reviews | R Documentation |
Sort reviews
sort_reviews(
client,
using = "xpath",
value_sort_btn = "//button[@data-value='Sort']",
value_sort_options = "//div[@role='menuitemradio']",
sleep = 1,
sort_index = 2
)
client |
|
using |
String with "css" or "xpath". |
value_sort_btn |
String with css tag or xpath for the Sort button. |
value_sort_options |
String with css tag or xpath for the Sort options. |
sleep |
Integer with number of seconds to use as pause between actions on the web page. |
sort_index |
Integer with the index of the sorting order of the reviews:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.