#' @param html html
#'
#' @keywords internal
#'
#' @import rvest
#' @import dplyr
tripadvisor_get_id <- function(html) {
# currently not used
id <- html %>%
rvest::html_elements("div") %>%
rvest::html_attr("data-reviewid") %>%
na.omit()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.