htmltab: Assemble Data Frames from HTML Tables

HTML tables are a valuable data source but extracting and recasting these data into a useful format can be tedious. This package allows to collect structured information from HTML tables. It is similar to `readHTMLTable()` of the XML package but provides three major advantages. First, the function automatically expands row and column spans in the header and body cells. Second, users are given more control over the identification of header and body rows which will end up in the R table, including semantic header information that appear throughout the body. Third, the function preprocesses table code, corrects common types of malformations, removes unneeded parts and so helps to alleviate the need for tedious post-processing.

Package details

AuthorChristian Rubba [aut], Gerhard Burger [ctb, cre] (<https://orcid.org/0000-0003-1062-5576>), Roman Cheplyaka [ctb]
MaintainerGerhard Burger <burger.ga@gmail.com>
LicenseMIT + file LICENSE
Version0.8.2
URL https://github.com/htmltab/htmltab
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("htmltab")

Try the htmltab package in your browser

Any scripts or data that you put into this service are public.

htmltab documentation built on Sept. 16, 2021, 5:07 p.m.