traverse_author: Traversing the literature graph of an author's papers

View source: R/semantic_scholar.R

traverse_authorR Documentation

Traversing the literature graph of an author's papers

Description

This function fetch the papers of an author in batches.

Usage

traverse_author(author_id, offset = 0, limit = 100, fields = NULL)

Arguments

author_id

string A plain-text search query string with author identifier.

offset

integer Default: 0. When returning a list of results, start with the element at this position in the list.

limit

integer Default: 100. The maximum number of results to return. The sum of offset and limit must be < 10000.

fields

string A comma-separated list of the fields to be returned, support one or more fileds, for example fileds = get_fields()[['author_papers']] was all fields to be returned. See Format or see get_fields to set more params

Details

Only retrieves the most recent 10,000 citations/references for papers belonging to the batch.

Value

list representing author's papers

Author(s)

Liuyong Ding

Examples

## Not run: 
res <- traverse_author(author_id = "48980001",fields = c("title","abstract","authors","year"))

## End(Not run)

Otoliths/S2miner documentation built on Dec. 5, 2023, 2:17 p.m.