You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
get_orcid_name is a helper function called by list_submissions that attends to scrape an orcid url and return the submitter's name. It looks like this is failing in some cases and it could use some error handling so that it doesn't cause the function call to fail.
Here are examples of the two cases:
cn <- dataone::CNode('PROD')
adc <- dataone::getMNode(cn,'urn:node:ARCTIC')
list_submissions(adc, '2019-09-01', '2020-01-15') # this fails
list_submissions(adc, '2020-01-01', '2020-01-15') # this succeeds
An easy way to do this would be to just include some text to default to if it fails like "Orcid not found".
get_orcid_name
is a helper function called bylist_submissions
that attends to scrape an orcid url and return the submitter's name. It looks like this is failing in some cases and it could use some error handling so that it doesn't cause the function call to fail.Here are examples of the two cases:
An easy way to do this would be to just include some text to default to if it fails like "Orcid not found".
@rachelsun97 if you want to take this one!
The text was updated successfully, but these errors were encountered: