scholar_plot: Show Scholar Profile Plot.

View source: R/scholar_plot.R

scholar_plotR Documentation

Show Scholar Profile Plot.

Description

Show Scholar Profile Plot.

Usage

scholar_plot(
  profile,
  bar_width = 0.5,
  add_total = FALSE,
  add_text = TRUE,
  title_citations = NULL,
  title_publications = NULL,
  caption_citations = paste("Update:", Sys.Date()),
  caption_publications = caption_citations
)

Arguments

profile

Result from tinyscholar.

bar_width

bar width.

add_total

If TRUE (not default), add total records in plot.

add_text

If TRUE (default), add text on the top of bar.

title_citations

Title for plot citations. Set by ggplot2::labs.

title_publications

Title for plot publications. Set by ggplot2::labs.

caption_citations

Caption for plot citations. Set by ggplot2::labs.

caption_publications

Caption for plot publications. Set by ggplot2::labs.

Value

a length-2 list of ggplot2::ggplot object.

See Also

tinyscholar, scholar_table


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