Closed JeffreySmithA closed 1 year ago
Hi @JeffreySmithA could you elaborate on your attempts to resolve the issue?
And how are you getting the citations for over 10 years? Here is how I would do it:
library(openalexR)
my_papers <- paste0(
"https://openalex.org/",
c("W1519117689", "W2017292130", "W2941875476", "W4229010617", "W854896339")
)
citing_papers <- oa_fetch(
"works",
cites = my_papers,
options = list(select = c("id", "publication_year", "referenced_works"))
)
filtered <- citing_papers |>
tidyr::unnest(referenced_works) |>
dplyr::filter(referenced_works %in% my_papers)
Created on 2023-07-31 with reprex v2.0.2
Sorry, the issue was neither of the things I flagged. The free API allows for 100,000 queries a day! I reached the limit. Thanks for your help :)
I'm trying to get the citations for more than 10 years for all of the papers in my dataset (as asked before). I have 62085 papers in my dataset, but approximately 1/3 of the way in I'm receiving the following error:
Error in curl::curl_fetch_memory(url, handle = handle) : Timeout was reached: [api.openalex.org] Connection timed out after 10006 milliseconds
I've tried the following things:
Are there any other solutions?