powered by
Split figure, table and supplementary material captions into sentences
pmc_caption(doc)
a tibble with tag, label, sentence number and text
xml_document from PubMed Central
xml_document
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)
Run the code above in your browser using DataLab