ropensci / openalexR

Getting bibliographic records from OpenAlex
https://docs.ropensci.org/openalexR/
Other
93 stars 21 forks source link

safe rbind in oa2df #108

Closed trangdata closed 1 year ago

trangdata commented 1 year ago

Previously, do.call(rbind, ...) errors out when the list elements don't have the same names. The new function rbind_oa_ls allows rbind to work and set unavailable names to NA, so this now works:

openalexR::oa_fetch("authors", display_name.search = "Trang T Le")