readHTMLList | R Documentation |
This function and its methods are somewhat similar to
readHTMLTable
but read the contents of
lists in an HTML document.
We can specify the URL of the document or
an already parsed document or an individual node within the document.
readHTMLList(doc, trim = TRUE, elFun = xmlValue, which = integer(), ...)
doc |
the URL of the document or the parsed HTML document or an individual node. |
trim |
a logical value indicating whether we should remove leading and trailing white space in each list item when returning it |
elFun |
a function that is used to process each list item node
( |
which |
an index or name which or vector of same which identifies which list nodes to process in the overall document. This is for subsetting particular lists rather than processing them all. |
... |
additional arguments passed to |
A list of character vectors or lists,
with one element for each list in the document.
If only one list is being read (by specifying which
as a single
identifier), that is returned as is.
Duncan Temple Lang
readHTMLTable
try(readHTMLList("https://www.omegahat.net"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.