outbreak-info / litcovid

parser for LitCOVID Publications
1 stars 3 forks source link

identifier type errors in isBasedOn records #26

Closed gtsueng closed 3 years ago

gtsueng commented 3 years ago

The identifiers for the records parsed for the isBasedOn array aren't always pmids. Sometimes they are dois. Include a check to determine which one they are. Example of isBasedOn with doi records that are listed as pmids: https://api.outbreak.info/resources/resource/pmid32488552

gtsueng commented 3 years ago

addressed by https://github.com/outbreak-info/litcovid/commit/035d11143124ab8d0e279ec579634db77ac72d8d