Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Date Range for OpenAlex Filtering

41 views
Skip to first unread message

Erin Fields

unread,
Jan 17, 2025, 3:01:04 PMJan 17
to OpenAlex Community
Hello - I'm new to OpenAlex and xAPIs and was hoping someone could help be figure out how to filter a specific date range. I need to look at publications from a fiscal year - April 1, 2023 - March 31, 2024, but I don't know how to make that happen in the Xapi or in the dashboard. 

Can someone assist?
Erin

Y Han

unread,
Jan 22, 2025, 1:57:36 PMJan 22
to OpenAlex Community
If you are coding with R. Here is the sample code:

UAworks_count <-oa_fetch(
  entity="works",
  institutions.ror=c("03m2x1q45"),
  from_publication_date ="2023-01-01",
  to_publication_date = "2023-12-31",
 # count_only = TRUE
)

Just replace the from and to with your desired dates 

Yan
Reply all
Reply to author
Forward
0 new messages