adsabs / ADSIngestParser

Curation parser library
MIT License
0 stars 7 forks source link

Author affiliation data available from Crossref should be parsed into a contrib.affiliation array #44

Closed seasidesparrow closed 1 year ago

seasidesparrow commented 1 year ago

Is your feature request related to a problem? Please describe. Crossref records sometimes contain an tag under one or more tags in . These tags should be parsed into the parser data model.

Describe the solution you'd like Add an if/then clause to the _parse_contrib method of CrossrefParser that checks for the existence of any tags in each block, and if so parse them into the "affiliation" array in the contrib object in ingest data model (https://github.com/seasidesparrow/ingest_data_model/blob/94e2042aee20958d43e83b33d6b3a05734b5a09e/adsingestschema/Contrib.json#L35)

Additional context Add any other context or screenshots about the feature request here.

seasidesparrow commented 1 year ago

Resolved with #45