parse_html_index: Parse HTML Index

Description Usage Arguments Value Examples

View source: R/download_tools.R

Description

Parse an HTML index page.

Usage

1
parse_html_index(url, node = "//a", attribute = "href")

Arguments

url

The url of the page to parse.

node

The HTML node to extract. Default is link anchor, i.e. <a>.

attribute

if not NULL, the attribute of the node to extract.

Value

A character vector of nodes or attributes.

Examples

1
2
3
4
5
## Not run: 
parse_html_index(paste0("https://emp.baydeltalive.com/assets/",
  "00c870b6fdc0e30d0f92d719984cfb44/application/vnd.ms-excel"))

## End(Not run)

InteragencyEcologicalProgram/smonitr documentation built on Nov. 9, 2020, 7:01 a.m.