gettxt: Extract simple plain texts from a web page at a certain URL

View source: R/htm2txt.R

gettxtR Documentation

Extract simple plain texts from a web page at a certain URL

Description

Extract simple plain texts from a web page at a certain URL

Usage

gettxt(URL, encoding = "UTF-8", ...)

Arguments

URL

A character indicating the URL of a web page.

encoding

Encoding method (e.g., "UTF-8", "latin1", "bytes", "unknown", etc.).

...

Other htm2txt arguments.

Value

A character containing plain texts converted from the htm document at the URL.

Examples

text = gettxt("https://www.wikipedia.org/")

htm2txt documentation built on June 12, 2022, 5:09 p.m.

Related to gettxt in htm2txt...