Show Scholar Profile Plot.

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.