ahref: extract link and xmlValue from an xml node representing an...

Description Usage Arguments Value Examples

Description

extract link and xmlValue from an xml node representing an "a" tag

Usage

1
  ahref(node, colnames = c("value", "link"))

Arguments

node

an XML node representing an "a" tag.

colnames

what to call the value and link extracted (in that order)

Value

a data.frame consisting of the link path and the text associated with the "a" tag.

Examples

1
# see example in the README

abelsonlive/scraply documentation built on May 10, 2019, 4:09 a.m.