tinyscholar: Get Google Scholar Profile

View source: R/tidyscholar.R

tinyscholarR Documentation

Get Google Scholar Profile

Description

Get Google Scholar Profile

Usage

tinyscholar(
  id,
  sortby_date = FALSE,
  use_cache = TRUE,
  cache_dir = file.path(tempdir(), "tinyscholar")
)

Arguments

id

Your google scholar identifier. You can find it in the URL of your google scholar profile.

sortby_date

Logical. If TRUE, the publications are sorted by date.

use_cache

If TRUE (default), store data to a cache file to avoid querying in next time within a day. The store file is identical for each person and each date.

cache_dir

A directory path.

Value

a Profile object with list structure.

Examples

# Put one unique Scholar ID from Google Scholar
r <- tinyscholar("FvNp0NkAAAAJ")
r
if (!is.null(r)) {
  tb <- scholar_table(r)
  tb$citations
  tb$publications
  pl <- scholar_plot(r)
  pl$citations
  pl$publications
}

tinyscholar documentation built on Aug. 9, 2022, 5:06 p.m.