numbats / achievement-scraper

Other
1 stars 0 forks source link

Author not traceable in Orcid Publications #19

Closed parnikakhattri closed 1 month ago

parnikakhattri commented 1 month ago

I just picked a random orcid_id get_publications_from_orcid("0000-0001-9379-0010") but running this code gives me an error? Screen Shot 2024-09-12 at 12 12 47 pm

MikeLydeamore commented 1 month ago

This was harder to fix than I thought. I have added a new function in util.R that appends a column onto a dataframe if it doesn't exist, and just called that 6 times, and it seems to have solved the problem for now.

I've also added a test for this ORCID ID to ensure all the columns are there.