Description Usage Arguments Value
Extracting tables with links in cells using rvest isn't straight-forward.
But by listing the links with html_nodes(..., "href")
and the link
text with html_text(...)
(i.e., the link title), then joining with the
table Title field, we can associate every doc link with the other fields in
the table.
1 | join_for_links(tab, links, species)
|
tab |
The table (as a data.frame) to be joined if it has a Title var |
links |
A data.frame with the Title of the link and the URL |
species |
The scientific name to be included in the returned data.frame |
A data.frame with URL, if tab includes a Title variable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.