Learn R Programming

tidypmc (version 2.0)

pmc_metadata: Get article metadata

Description

Get a list of journal and article metadata in /front tag

Usage

pmc_metadata(doc)

Value

a list

Arguments

doc

xml_document from PubMed Central

Author

Chris Stubben

Examples

Run this code
# doc <- pmc_xml("PMC2231364") # OR
doc <- xml2::read_xml(system.file("extdata/PMC2231364.xml",
  package = "tidypmc"
))
pmc_metadata(doc)

Run the code above in your browser using DataLab