S2_author2: This function retrieves Semantic Scholar data for an author...

View source: R/api.R

S2_author2R Documentation

This function retrieves Semantic Scholar data for an author given the S2Author identifier

Description

This function retrieves Semantic Scholar data for an author given the S2Author identifier

Usage

S2_author2(
  S2AuthorId,
  details = c("papers"),
  offset = 0,
  limit = 10,
  fields = NULL
)

Arguments

S2AuthorId

string with author identifier

details

one of "authors", "citations" or "references"

offset

integer paging offset

limit

integer paging length

fields

extra fields to include, for example "title,authors"

Details

Example of Accessible Paper Identifiers:

  • S2 Author ID : 1681232

Value

list representing author object

Examples

## Not run: 
 S2_author(1681232)
 S2_author2(1681232, fields="affiliations,aliases,externalIds")
 S2_author2(1681232, fields="paperId,externalIds", details = "papers", offset=0, limit = 100)
 
## End(Not run)

KTH-Library/semanticscholar documentation built on Feb. 2, 2025, 2:50 a.m.