Description Usage Arguments Examples
This function allows you to extract text from an element and returns vector
1 | getElementText(html, cssSelector)
|
html |
html code of the page |
cssSelector |
css selector of the element |
1 2 | html <- xml2::read_html("https://www.drugshortagescanada.ca")
getElementText(html,"table tbody tr td")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.