Currently, it seems that cr_works loops over DOIs - rather than requesting all/many DOIs at once ... unless I am missing something? If the API calls are combined, that leads to drastic speed-up and obviously less load on crossref servers.
ChatGPT generated code for me to do that directly (https://gist.github.com/LukasWallrich/9413261130a882a0d9995981fee50743) which is 50x faster on large sets of DOIs. Please let me know if you would appreciate a PR that allows to use cr_works with similar efficiency ... or if I am doing something wrong with rcrossref.
Currently, it seems that cr_works loops over DOIs - rather than requesting all/many DOIs at once ... unless I am missing something? If the API calls are combined, that leads to drastic speed-up and obviously less load on crossref servers.
ChatGPT generated code for me to do that directly (https://gist.github.com/LukasWallrich/9413261130a882a0d9995981fee50743) which is 50x faster on large sets of DOIs. Please let me know if you would appreciate a PR that allows to use cr_works with similar efficiency ... or if I am doing something wrong with rcrossref.