pmc_caption | R Documentation |
Split figure, table and supplementary material captions into sentences
pmc_caption(doc)
doc |
|
a tibble with tag, label, sentence number and text
Chris Stubben
# 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.