Skip to content

Commit

Permalink
Building tooltip function.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaoGarcezAurelio committed Aug 16, 2024
1 parent 6502416 commit 493aadf
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions data_cleaning.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@ library(reactablefmtr)
library(here)
library(shinylive)

# Uploading the table

Table3 <- read_csv(here("Data",
"Processed Data",
"Table3.csv"))

# Creating a tooltip option

# Creating a tooltip option that will be used in the headers.

with_tooltip <- function(value, tooltip) {
tags$abbr(style = "text-decoration: underline; text-decoration-style: dotted; cursor: help",
title = tooltip, value)
}

0 comments on commit 493aadf

Please sign in to comment.