Learn R Programming

scholar (version 0.2.4)

compare_scholar_careers: Compare the careers of multiple scholars

Description

Compares the careers of multiple scholars based on their citation histories. The scholar's career is defined by the number of citations to his or her work in a given year (i.e. the bar chart at the top of a scholar's profile). The function has an career option that allows users to compare scholars directly, i.e. relative to the first year in which their publications are cited.

Usage

compare_scholar_careers(ids, career = TRUE)

Arguments

ids

a character vector of Google Scholar IDs

career

a boolean, should a column be added to the results measuring the year relative to the first citation year. Default = TRUE

Examples

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

Run the code above in your browser using DataLab