Closed raypereda closed 2 years ago
Sounds great to me. Should I merge this issue for adding the data or you are working on the parser on the PR?
I'm working on the PR and will send you a note when it's ready for review and merge. Glad you approve of the goal. I will make sure to not break any existing users of the library.
@nicholasjuncos showed me a cool website for generating test PubMed XML files given a list of PubMed IDs.
https://pubmed2xl.com/xml/
That's how data/pubmed-29768149.xml
was generated.
Will let you know next week. Using the new code may turn up a tweak.
With little refactoring, I think we could eliminate the use of the global
function swapping to make this more readable and maintainable. Happy to fork and do the refactoring.
@DustinHolden maybe you can coordinate with @raypereda and then I can merge once it's done?
Can do, I'll coordinate with @raypereda . Thanks!
This PR is done. @titipata Please merge.
Currently, the parser returns the major MeSH headings. For example:
The goal is to return the two QualifierName elements, which represent subheadings.