ropensci / openalexR

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

openAlex location info #149

Closed yhan818 closed 1 year ago

yhan818 commented 1 year ago

Currently openAlexR only provides location info for DOI and PubMed only.

OpenAlex original data has more location info. For example, https://api.openalex.org/works/W2985709543

This information is important for an institution to evaluate its scholarly publishing efforts. There are other uses of this data.

Can this feature to be developed?

Thank you,

trangdata commented 1 year ago

We have unpacked a lot of these fields (slightly different names) in the dataframe output, but if you need more extensive results, you can set output = "list" which will return a nested list of all fields.

library(openalexR)
w <- oa_fetch(identifier = "W2985709543")
w[c("is_oa", "pdf_url", "host_organization", "url")]
#> # A tibble: 1 × 4
#>   is_oa pdf_url host_organization url                              
#>   <lgl> <lgl>   <chr>             <chr>                            
#> 1 FALSE NA      Wiley-Blackwell   https://doi.org/10.1111/tid.13204

Created on 2023-08-18 with reprex v2.0.2