Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PMC ids are missing from PMC XML #4

Open
cstubben opened this issue Jul 27, 2020 · 0 comments
Open

PMC ids are missing from PMC XML #4

cstubben opened this issue Jul 27, 2020 · 0 comments

Comments

@cstubben
Copy link
Contributor

cstubben commented Jul 27, 2020

ariticle-id nodes with pub-id-type pmcid are now missing from PMC xml and pmc_metadata does not return a PMCID (or other unique identifier). This line in pmc_metadata needs to be replaced, see https://www.ebi.ac.uk/europepmc/webservices/rest/PMC2231364/fullTextXML

pmcid <- xml2::xml_text(xml2::xml_find_first(doc, "//front//article-id[@pub-id-type='pmcid']"))
# test
doc <- pmc_xml("PMC2231364")
pmc_metadata(doc)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant