Description Usage Arguments Details Value
get_css_element
gets a specific css element from a html page.
1 2 | get_css_element(html, css, remove_chars = c(), as_numeric = FALSE,
expecting_one = TRUE)
|
html |
Xml_document containing the html content of an advertisements page. |
css |
String indicating the css element to extract. |
remove_chars |
Vector indivating which characters are to be removed from the result. |
as_numeric |
Boolean indicating whether the result should be returned as numeric. |
expecting_one |
Boolean indicating whether a single result is expected or a vector of results. |
The function uses a css string to extract information from a specific html node of a html page.
a character/numeric or vector object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.