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 |
|
---|---|
Author | Christian Rubba [aut], Gerhard Burger [ctb, cre] (<https://orcid.org/0000-0003-1062-5576>), Roman Cheplyaka [ctb] |
Maintainer | Gerhard Burger <burger.ga@gmail.com> |
License | MIT + file LICENSE |
Version | 0.8.2 |
URL | https://github.com/htmltab/htmltab |
Package repository | View on CRAN |
Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.