create_tml_2 {cronologia}R Documentation

Create a Vertical HTML Timeline with 2 Description Levels from a Data Frame

Description

Create a Vertical HTML Timeline with 2 Description Levels from a Data Frame

Usage

create_tml_2(
  df,
  smr,
  dsc,
  dsc2,
  smr_col = "white",
  smr_bgcol = "#002240",
  dsc_col = "#1D1D1D",
  dsc_bgcol = "#FFFFFF",
  dsc_size = "14px",
  dsc2_col = "#1D1D1D",
  dsc2_bgcol = "#FFFFFF",
  dsc2_size = "14px",
  open = FALSE
)

Arguments

df

a data frame containing the necessary information.

smr

the column name that will be used as the summary component.

dsc

the column name that will be used as the first description component.

dsc2

the column name that will be used as the second description component.

smr_col

text color for the summary component. Defaults to 'white'.

smr_bgcol

background-color for the summary component. Defaults to "#002240".

dsc_col

text color for the first description component. Defaults to "#1D1D1D".

dsc_bgcol

background-color for the first description component. Defaults to "#FFFFFF".

dsc_size

font size of the first description component. Defaults to "14px".

dsc2_col

text color for the second description component. Defaults to "#3AD900".

dsc2_bgcol

background-color for the second description component. Defaults to "#FFFFFF".

dsc2_size

font size of the second description component. Defaults to "14px".

open

logical, whether to open by default the summary components. Default to FALSE

Value

A Vertical HTML Time Line Widget with 2 Description Levels


[Package cronologia version 0.2.0 Index]