htmlText: Get HTML text content

View source: R/html.r

htmlTextR Documentation

Get HTML text content

Description

Get HTML text content

Usage

htmlText(file, css = "body")

Arguments

file

character. Path to HTML file.

css

character. HTML elements (one of css) to select. Default 'body'

Value

A character vector.

Examples

Download('http://www.virusite.org', 'test.html')
content = htmlText('test.html')
file.remove('test.html')
head(content)



HatsuneCode/TrustVDJ documentation built on Aug. 13, 2022, 9:36 p.m.