Description Usage Arguments Value Examples
takes a css attribute and web object and returns value
1 | get_attribute(main_page, css)
|
main_page |
html object from rvest |
css |
attribute to filter on |
text
1 2 | page <- xml2::read_html("inst/rawdata/webpages/gumtree-cat-1-1-2015-10-08.html")
get_attribute(page, "#ad-title")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.