forename and initials are tricky. Before the parser returned firstname with values from initials tag text. In this change, the parse function returns both forename and initials. Because this changes the dictionary keys returned by the parser, I bumped the version number. In the XML, initials is the initials of the forename, not the whole name.
Before:
{ "firstname": "JP", "lastname": "Smith" ... }
After
{ "forename": "John Paul", "initials": "JP", "lastname": "Smith" ... }
Added issue that combines volume and issue info. For example "issue": "50(2)".
Added pages returned and pulled from the Pagination/MedlinePgn tag text.
I added a test for the issue and page number addition.
forename
andinitials
are tricky. Before the parser returnedfirstname
with values frominitials
tag text. In this change, the parse function returns bothforename
andinitials
. Because this changes the dictionary keys returned by the parser, I bumped the version number. In the XML, initials is the initials of the forename, not the whole name. Before:{ "firstname": "JP", "lastname": "Smith" ... }
After{ "forename": "John Paul", "initials": "JP", "lastname": "Smith" ... }
Added
issue
that combines volume and issue info. For example"issue": "50(2)"
.Added
pages
returned and pulled from thePagination/MedlinePgn
tag text.I added a test for the issue and page number addition.
Thanks for open sourcing this @titipata