问题
Using R, I want to obtain the list of articles referencing to a scientific journal paper.
The only information I have is the title of the article, e.g. "Protein measurement with the folin phenol reagent".
Is anyone able to help me by producing a replicable example that I can use?
Here is what I tried so far.
The R package fulltext
seems to be useful, because it allows to retrieve a list of IDs linked to an article. For instance, I can get the article's DOI:
library(fulltext)
res1 <- ft_search(query = "Protein measurement with the folin phenol reagent", from = "crossref")
res1 <- ft_links(res1)
res1$crossref$ids
In the same way, I can get the scopus id, by setting from = "scopus"
in the function fulltext::ft_search
(and by including a scopus API key).
If using the DOI, I can obtain the number of citations of the article using the R library rcrossref
:
rcrossref::cr_citation_count(res1$crossref$ids[1])
Similarly, I can use the R package rscopus
if I want to use the scopus id, rather than the DOI.
Unfortunately, this information is not sufficient to me, as I need the list of articles referencing to the paper, not the number.
I saw on the internet many people using the package scholar
. But if I understand correctly, for this to work I need article's authors to have a google scholar ID, and I have to find a way to retrieve this ID. So it doesn't look like a viable solution.
Does anyone has any idea on how to solve this problem?
回答1:
Once you have the DOI, you can use the OpenCitations API to fetch data about publications that cite the article. Access the API with the rjson
-package via https://opencitations.net/index/coci/api/v1/citations/{DOI}
. The field name citing
contains as values the DOIs of all publications that cite the publication. You can then use CrossRef's API to fetch further metadata about the citing papers, such as titles, journal, publication date and authors (via https://api.crossref.org/works/{DOI}
).
Here is an example of OpenCitations' API with three citations (as of January 2021).
来源:https://stackoverflow.com/questions/55064193/retrieve-citations-of-a-journal-paper-using-r