get_fields: A comma-separated list of the fields available for use in API...

View source: R/semantic_scholar.R

get_fieldsR Documentation

A comma-separated list of the fields available for use in API calls

Description

This function get fields for fetching paper and author data from the Semantic Scholar corpus.

Usage

get_fields()

Format

The following list of the fields to be returned are recognized:

  • paper_search : fields on searching for papers by keyword.

  • paper : fields on looking up details about a paper.

  • paper_authors : fields on looking up details about a paper's authors.

  • paper_citations : fields on fetching details about the papers the cite this paper (i.e. papers in whose bibliography this paper appears).

  • paper_references : fields on fetching details about the papers cited by this paper (i.e. appearing in this paper's bibliography).

  • author : fields on looking up details about an author.

  • author_papers : fields on fetching the papers of an author in batches,only retrieves the most recent 10,000 citations/references for papers belonging to the batch.

Details

See for website https://api.semanticscholar.org/graph/v1 details.

Value

list representing fields parms.

Author(s)

Liuyong Ding

Examples

## Not run: 
# get all fileds
get_fields()

# check type of fileds
names(get_fields())

# get author of fileds
get_fields()[["author"]]

## End(Not run)

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