Learn R Programming

scholar (version 0.2.4)

compare_scholars: Compare the citation records of multiple scholars

Description

Compares the citation records of multiple scholars. This function compiles a data frame comparing the citations received by each of the scholar's publications by year of publication.

Usage

compare_scholars(ids, pagesize = 100)

Value

a data frame giving the ID of each scholar and the total number of citations received by work published in a year.

Arguments

ids

a vector of Google Scholar IDs

pagesize

an integer specifying the number of articles to fetch for each scholar

Examples

Run this code
{
# \donttest{
    ## How do Richard Feynmann and Stephen Hawking compare?
    ids <- c("B7vSqZsAAAAJ", "qj74uXkAAAAJ")
    df <- compare_scholars(ids)
# }
}

Run the code above in your browser using DataLab