Closed emilBeBri closed 2 years ago
I struggled quite a bit with citation_retrieval(), until I realized that the logic of the arguments is completely different:
in these two, you specify which type of identifier as a serate argument:
article_retrieval('10, identifier='doi', .1287/mnsc.2021.3997') abstract_retrieval('10.1287/mnsc.2021.3997', identifier='doi')
but in citation_retreival, you have to use a named argument for the doi, for example:
citation_retrieval(doi='10.1287/mnsc.2021.3997')
this means that if you try to use the same logic in the other two:
citation_retrieval('10.1287/mnsc.2021.3997', identifier='doi')
it won't fail - but it will try to use the doi as an eid, and get an empty result back. This is very confusing.
Pull requests are welcome to rectify these.
ALso if you look at the API https://dev.elsevier.com/documentation/AbstractCitationAPI.wadl, it shows you can specify DOIs, PubMed IDs, and scopus IDs all in one call.
I struggled quite a bit with citation_retrieval(), until I realized that the logic of the arguments is completely different:
in these two, you specify which type of identifier as a serate argument:
but in citation_retreival, you have to use a named argument for the doi, for example:
citation_retrieval(doi='10.1287/mnsc.2021.3997')
this means that if you try to use the same logic in the other two:
citation_retrieval('10.1287/mnsc.2021.3997', identifier='doi')
it won't fail - but it will try to use the doi as an eid, and get an empty result back. This is very confusing.