Learn R Programming

tableParser (version 1.0.2)

get.caption: get.caption

Description

Extracts the content of HTML <caption>-tags.

Usage

get.caption(x, rm.html = TRUE, sentences = FALSE, letter.convert = TRUE)

Value

A character vector with the extracted caption text and NULL for no caption text

Arguments

x

A vector with HTML-coded tables.

rm.html

logical. If TRUE, all HTML tags are removed, <sub> converts to '_', and <sup> to '^'.

sentences

logical. If TRUE, a sentence vector is returned.

letter.convert

logical. If TRUE, hexadecimal letters are converted to Unicode and unified with JATSdecoder::letter.convert.