Description Usage Arguments Value Author(s) Examples
Split figure, table and supplementary material captions into sentences
1 | pmc_caption(doc)
|
doc |
|
a tibble with tag, label, sentence number and text
Chris Stubben
1 2 3 4 5 6 7 | # doc <- pmc_xml("PMC2231364") # OR
doc <- xml2::read_xml(system.file("extdata/PMC2231364.xml",
package = "tidypmc"
))
x <- pmc_caption(doc)
x
dplyr::filter(x, sentence == 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.