Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Parse PubMed Central id #26

Open
nleguillarme opened this issue Aug 28, 2019 · 3 comments
Open

Parse PubMed Central id #26

nleguillarme opened this issue Aug 28, 2019 · 3 comments

Comments

@nleguillarme
Copy link

Having a PubMed Central id field in the Article object would be great, since this PMC id can be used to retrieve the full text of the article using this API

@mbullmanFHCRC
Copy link

Hi @nleguillarme , is the PubMed Central ID the 'PMC" prefixed ID from article ID fields?

In my fork I'm extracting all the articleID into a dictionary then you can grab the PMC ID (if it's available) from the dictionary. From what I've seen I don't think every article has a PMC ID, so might be a problem.

But feel free to use my fork of the project if needed. My _extractArticleID method uses a getContentList function to grab the articleIDs. From what I've seen PMCID isn't always available.

@nleguillarme
Copy link
Author

Hi @mbullmanFHCRC, thank you, I will try your fork straightaway.

You're right, only the articles in PubMed Central (so with open access to the full-text) have a PMC id

@mbullmanFHCRC
Copy link

@nleguillarme , let me know if you run into any issues using it. I've been working on it the last couple weeks, but will probably be moving off it onto something else in the near future. I've basically brought in more fields from raw XML, hopefully it's useful to you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants