b_xpath | R Documentation |
Performs some cleaning operation on a string. It's a wrapper that helps standardise code somewhat.
b_xpath(
html.doc = "html",
path.base = NULL,
path.extension = NULL,
get.attribute = F,
the.attribute = "href"
)
path.base |
Enter a portion of the path that you are sure that exists. |
path.extension |
Enter the remainder where there may be gaps wrt to final node you are interested in. |
get.attribute |
Do you want to extract the value from an attribute? Default is 'FALSE'. |
the.attribute |
Name the attribute you want to extract the value from. Default is 'href'. |
A vector of values.
Johannes Fritz for GTA based on 'hrbrmstr' in https://stackoverflow.com/questions/32429574
www.globaltradealert.org
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.