MaRDI4NFDI / python-zbMathRest2Oai

Read data from the zbMATH Open API https://api.zbmath.org/docs and feed it to the OAI-PMH server https://oai.portal.mardi4nfdi.de/oai/
GNU General Public License v3.0
4 stars 0 forks source link

Reshaping the Given and Family Name for the Datacite format #64

Open Shirazos7 opened 1 week ago

Shirazos7 commented 1 week ago

Issue description:

givenName and familyName fields appear to be the wrong way round. I assume the name for "friedlander.john-b" should be John B. Friedlander? In this case, the familyName should be "Friedlander" and the givenName should be "John B."

TODOS:

Swap the sources for these elements

Shirazos7 commented 1 week ago

i did actually made the changes , because apparently the first string is referring to the family name and the second string is the first name.

Below you can see the commits to fix this issue i tried also to remove some unwanted digits and letters from the result and i capizalized the first letters from the names in the result

1ede541 f2fd90f