library(openalexR)
#> openalexR v2.0.0 introduces breaking changes.
#> See NEWS.md for details.
#>
#> To suppress this message, add `openalexR.message = suppressed` to your .Renviron file.
# Unlike the other filters, search does NOT require an exact match.
# This is particularly useful to search for authors. Some authors have their middle names in a variety of forms, which may not exist, or co-exist in OpenAlex (e.g. Phillip H. Kuo, Phillip Hsin Kuo).
# The display_name search returns an exact match, and will NOT find all these variations. For example, author "Phillip H. Kuo" and "Phillip Hsin Kuo" is the same person.
# His middle name are recorded differently in openAlex. Therefore, all the varitions can only be found either using search ="Phillip Kuo" or display_name =c("Phillip H. Kuo" , "Phillip Hsin Kuo").
authors_from_names <- oa_fetch(
entity = "authors",
search = "Phillip Kuo"
)
lib_topics <- oa_fetch(
entity = "topics",
works_count = "<999",
cited_by_count = ">10000"
)
dplyr::glimpse(lib_topics)
#> Rows: 3
#> Columns: 16
#> $ id <chr> "https://openalex.org/T13676", "https://openalex…
#> $ display_name <chr> "Educational and Technological Research", "Socia…
#> $ description <chr> "This cluster of papers explores the integration…
#> $ keywords <list> <"Big Data", "Machine Learning", "Education", "…
#> $ ids <list> <"https://openalex.org/T13676", "https://en.wik…
#> $ subfield_id <chr> "https://openalex.org/subfields/1710", "https://…
#> $ subfield_display_name <chr> "Information Systems", "Sociology and Political …
#> $ field_id <chr> "https://openalex.org/fields/17", "https://opena…
#> $ field_display_name <chr> "Computer Science", "Social Sciences", "Social S…
#> $ domain_id <chr> "https://openalex.org/domains/3", "https://opena…
#> $ domain_display_name <chr> "Physical Sciences", "Social Sciences", "Social …
#> $ siblings <list> [<data.frame[77 x 2]>], [<data.frame[223 x 2]>]…
#> $ works_count <int> 979, 968, 915
#> $ cited_by_count <int> 19649, 17621, 17887
#> $ updated_date <chr> "2025-02-17T04:47:37.760499", "2024-10-21T04:55:…
#> $ created_date <chr> "2024-01-23", "2024-01-23", "2024-01-23"
tech_insts <- oa_fetch(
entity = "institutions",
country_code = "IL",
display_name.search = "technology"
)
dplyr::glimpse(tech_insts)
#> Rows: 7
#> Columns: 23
#> $ id <chr> "https://openalex.org/I174306211", "https:/…
#> $ display_name <chr> "Technion – Israel Institute of Technology"…
#> $ display_name_alternatives <list> <"Technion", "جامعة تخنيون", "הטכניון – מכ…
#> $ display_name_acronyms <list> NA, <"HIT", "CTEH", "HAIT">, NA, "JCT", NA…
#> $ international_display_name <list> <"التخنيون - معهد إسرائيل للتكنولوجيا", "م…
#> $ ror <chr> "https://ror.org/03qryx823", "https://ror.o…
#> $ ids <list> <"https://openalex.org/I174306211", "https…
#> $ country_code <chr> "IL", "IL", "IL", "IL", "IL", "IL", "IL"
#> $ geo <list> [<data.frame[1 x 7]>], [<data.frame[1 x 7]>…
#> $ type <chr> "funder", "education", "facility", "funder…
#> $ homepage_url <chr> "http://www.technion.ac.il/", "http://www.h…
#> $ image_url <chr> "https://commons.wikimedia.org/w/index.php?…
#> $ image_thumbnail_url <chr> "https://commons.wikimedia.org/w/index.php?…
#> $ associated_institutions <list> [<data.frame[2 x 6]>], NA, NA, NA, [<data.f…
#> $ relevance_score <dbl> 17997.3770, 2475.8228, 2337.6086, 2002.637…
#> $ works_count <int> 104956, 3720, 1477, 2655, 2291, 1256, 6
#> $ cited_by_count <int> 3275566, 50742, 45211, 33130, 11699, 16046,…
#> $ counts_by_year <list> [<data.frame[14 x 3]>], [<data.frame[14 x 3…
#> $ summary_stats <list> <3.687355, 528.000000, 48340.000000>, <1.65…
#> $ works_api_url <chr> "https://api.openalex.org/works?filter=ins…
#> $ topics <list> [<tbl_df[100 x 5]>], [<tbl_df[100 x 5]>], …
#> $ updated_date <chr> "2025-02-13T15:35:53.619481", "2025-02-13T1…
#> $ created_date <chr> "2016-06-24", "2016-06-24", "2022-02-02", …
peer_venues <- oa_fetch(
entity = "sources",
display_name = "PeerJ",
is_oa = TRUE,
is_in_doaj = TRUE
)
dplyr::glimpse(peer_venues)
#> Rows: 1
#> Columns: 27
#> $ id <chr> "https://openalex.org/S1983995261"
#> $ issn_l <chr> "2167-8359"
#> $ issn <list> "2167-8359"
#> $ display_name <chr> "PeerJ"
#> $ host_organization <chr> "https://openalex.org/P4310320104"
#> $ host_organization_name <chr> "PeerJ, Inc."
#> $ host_organization_lineage <list> "https://openalex.org/P4310320104"
#> $ works_count <int> 15123
#> $ cited_by_count <int> 324765
#> $ summary_stats <list> <2.824893, 146.000000, 8641.000000>
#> $ is_oa <lgl> TRUE
#> $ is_in_doaj <lgl> TRUE
#> $ is_indexed_in_scopus <lgl> TRUE
#> $ ids <list> <"https://openalex.org/S1983995261", "2167-8…
#> $ homepage_url <chr> "http://www.peerj.com/"
#> $ apc_prices <list> [<data.frame[1 x 2]>]
#> $ apc_usd <int> 1395
#> $ country_code <chr> "US"
#> $ societies <lgl> NA
#> $ alternate_titles <list> <"Peer j", "Peerj">
#> $ abbreviated_title <chr> "PeerJ"
#> $ type <chr> "journal"
#> $ counts_by_year <list> [<data.frame[14 x 3]>]
#> $ works_api_url <chr> "https://api.openalex.org/works?filter=prima…
#> $ updated_date <chr> "2025-02-15T01:36:43.975842"
#> $ created_date <chr> "2016-06-24"
#> $ topics <list> [<tbl_df[100 x 5]>]