Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normalize DOI columns for all publication files #24

Open
3 tasks
jacobthill opened this issue Jun 16, 2023 · 0 comments
Open
3 tasks

Normalize DOI columns for all publication files #24

jacobthill opened this issue Jun 16, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@jacobthill
Copy link
Collaborator

Publications from all sources (ORCID, OpenAlex, SUL-Pub) are re-harvested in Dimensions using the publication DOI. The query will match even if the case is different, but then the output DOI that is written to file may end up having a different case than the source DOI. Also some DOIs have the web address prefix. In order to compare coverage across APIs we need all DOIs to be normalized.

To do in enrich_publication_data.py:

  • .lower() all DOIs
  • .replace('https://doi.org/', '') all DOIs
  • Add test to ensure that all DOIs are normalized.
@jacobthill jacobthill added the bug Something isn't working label Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant