get_publications: Gets the publications for a scholar

View source: R/publications.r

get_publicationsR Documentation

Gets the publications for a scholar

Description

Gets the publications of a specified scholar.

Usage

get_publications(
  id,
  cstart = 0,
  cstop = Inf,
  pagesize = 100,
  flush = FALSE,
  sortby = "citation"
)

Arguments

id

a character string specifying the Google Scholar ID. If multiple IDs are specified, only the publications of the first scholar will be retrieved.

cstart

an integer specifying the first article to start counting. To get all publications for an author, omit this parameter.

cstop

an integer specifying the last article to process.

pagesize

an integer specifying the number of articles to fetch in one batch. It is recommended to leave the default value of 100 unless you experience time-out errors. Note this is not the total number of publications to fetch.

flush

should the cache be flushed? Search results are cached by default to speed up repeated queries. If this argument is TRUE, the cache will be cleared and the data reloaded from Google.

sortby

a character with value "citation" or value "year" specifying how results are sorted.

Details

Google uses two id codes to uniquely reference a publication. The results of this method includes cid which can be used to link to a publication's full citation history (i.e. if you click on the number of citations in the main scholar profile page), and pubid which links to the details of the publication (i.e. if you click on the title of the publication in the main scholar profile page.)

Value

a data frame listing the publications and their details. These include the publication title, author, journal, number, cites, year, and two id codes (see details).


scholar documentation built on Aug. 9, 2022, 9:06 a.m.