pmc_table | R Documentation |
Convert PubMed Central table nodes into a list of tibbles
pmc_table(doc)
doc |
|
a list of tibbles
Saves the caption and footnotes as attributes and collapses multiline headers, expands all rowspan and colspan attributes and adds subheadings to column one.
Chris Stubben
# doc <- pmc_xml("PMC2231364")
doc <- xml2::read_xml(system.file("extdata/PMC2231364.xml",
package = "tidypmc"
))
x <- pmc_table(doc)
sapply(x, dim)
x
attributes(x[[1]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.