Learn R Programming

scholar (version 0.2.2)

author_position: Get author order.

Description

Get author rank in authors list.

Usage

author_position(authorlist, author)

Arguments

authorlist

list of publication authors

author

author's name to look for

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).

Examples

Run this code
# NOT RUN {
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