View source: R/extract_links.R
extract_links | R Documentation |
Extracts hyperlinks from one or more HTML documents by reading a HTML markup, selecting all <a> nodes and returning their 'href' attributes as a vector. Robust implementation that returns 'NA' on error. Vectorized.
extract_links(x, NA.omit = FALSE)
x |
Character. A vector of filenames or URLs. |
NA.omit |
Logical. Whether to return results with or without NAs included. Defaults to FALSE. |
A vector of hyperlinks (for a single HTML document) or a named list of vectors (for a vector of document names).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.