pmc_reference: Format references cited

Description Usage Arguments Value Note Author(s) Examples

View source: R/pmc_reference.R

Description

Format references cited

Usage

1

Arguments

doc

xml_document from PubMed Central

Value

a tibble with id, pmid, authors, year, title, journal, volume, pages, and doi.

Note

Mixed citations without any child tags are added to the author column.

Author(s)

Chris Stubben

Examples

1
2
3
4
5
6
# doc <- pmc_xml("PMC2231364")
doc <- xml2::read_xml(system.file("extdata/PMC2231364.xml",
  package = "tidypmc"
))
x <- pmc_reference(doc)
x

tidypmc documentation built on Aug. 1, 2019, 5:05 p.m.