| get_citing_articles | R Documentation |
Follows the "cited by" link of one publication and returns the works Google Scholar lists as citing it, ten at a time. The citation counts on a profile say how often a paper was cited; this says by whom, and through which venue, so that a citation curve can be split by community, an autocitation rate measured, or the speed of adoption plotted.
get_citing_articles(id, pubid, max_pages = 5, delay = 0, publications = NULL)
id |
a character string specifying the Google Scholar ID of the author whose publication is to be expanded. |
pubid |
a character vector of publication IDs, as found in the
|
max_pages |
the number of ten-entry pages to read per publication. |
delay |
seconds to wait between pages, for the benefit of the shared rate limit. |
publications |
a table as returned by |
number on a profile page, and it is bounded the same way: Scholar exposes at
most the first thousand citing works in ten-entry pages, and folds the
versions of one work into a single entry. Google guards this list more
strictly than it guards a profile page, so a hosted or data-centre IP is
frequently answered with a captcha instead of data; see
scholar-package and set_scholar_cookie. A refusal is reported
as a warning and returns an empty table, never a silently short list.
a data frame with one row per citing publication and the columns
pubid, the publication it cites; title; author;
venue; year; cites, citations to the citing work
itself; url, the publisher page where Scholar links to one; and
cid, Scholar's citation key for the citing work, which can be
handed to this function's internals to follow the list one step further.
Rows keep the order Scholar uses, which is by relevance. The table is
empty when nothing cites the publication or when Scholar refused.
get_publications for the pubid column, and
get_article_cite_history for citations to one publication per year.
pubs <- get_publications("B7vSqZsAAAAJ")
# Scholar can refuse the list outright, in which case there is nothing to
# expand: get_publications() answers with NA rather than an empty table
if (is.data.frame(pubs) && nrow(pubs)) {
get_citing_articles("B7vSqZsAAAAJ", pubs$pubid[1], publications = pubs,
max_pages = 1)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.