Learn R Programming

scholar (version 0.2.4)

author_position: Get author order.

Description

Get author rank in authors list.

Usage

author_position(authorlist, author)

Value

dataframe with author's position and normalized position (a normalized index, with 0 corresponding, 1 to last and 0.5 to the middle. Note that single authorship will be considered as last, i.e., 1).

Arguments

authorlist

list of publication authors

author

author's name to look for

Author

Dominique Makowski

Examples

Run this code
library(scholar)

id <- "bg0BZ-QAAAAJ&hl"

authorlist <- scholar::get_publications(id)$author
author <- scholar::get_profile(id)$name

author_position(authorlist, author)

Run the code above in your browser using DataLab