outbreak-info / litcovid

parser for LitCOVID Publications
1 stars 3 forks source link

add a check for ArticleDate if PubDate fails should address issue #17 #20

Closed gtsueng closed 3 years ago

gtsueng commented 3 years ago

Addresses https://github.com/outbreak-info/litcovid/issues/17 According to the list of medline elements used in their xml file, ArticleDate and PubDate are the only two that will map to datePublished. Other existing date fields, DateCompleted, DateCreated, and DateRevised refer to the creation, revision, and completion of the Medline/PubMed record itself.