disp_gt_summary: Create a gt_summary table fit for use in client briefs

View source: R/make_gt_summary.R

disp_gt_summaryR Documentation

Create a gt_summary table fit for use in client briefs

Description

Function calls various helper functions, @seealso make_gt_gradient_palette, make_gt_sumamry_table2

Usage

disp_gt_summary(
  data,
  sentiment_var,
  group_var,
  date_var,
  time_unit = c("month", "day", "week", "year", "quarter"),
  sentiment_max_colours = list(positive = "#1b7837", negative = "#762a83"),
  icons = NULL,
  table_title = "Test",
  source_note = "source_note ="
)

Arguments

group_var

Will usually be the name of the topic variable (name or topic)

sentiment_max_colours

positive and sentiment classes in lower case

source_note

Value

a gt object


jpcompartir/JPackage documentation built on March 20, 2023, 4 a.m.