Description Usage Arguments Value
This a high level function that facilitate the creation of a data.frame from an html document
1 | html2df(doc, obsPath, varPath, extractFun = cssCharacter)
|
doc |
A parsed html document created with |
obsPath |
CSS path to the html elements containing the observations (see example) |
varPath |
Named list containing the paths to the elements containing the values to extract inside an observation (see example) |
extractFun |
Function or vector of functions of same length than |
a data.frame with number of rows corresponding to the number of
elements selected by "obsPath" and number of columns equal to the length of
varPath
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.