valueboxprint: Refactor the renderValueBox()

Description Arguments Examples

View source: R/valueboxprint.R

Description

This function will refactor the renderValuebox into a single function thaht can be called within the app

Arguments

input

The input argument (default)

df

A dataset which want to summarise (a reactive dataset from newdate function)

x

The number of column from x that contains values

label

A character vector subtitle that we want to show in value box ("confirmed, death, recovered")

colors

A character vector of the available colors (Valid colors are: red, yellow, aqua, blue, light-blue, green, navy, teal, olive, lime, orange, fuchsia, purple, maroon, black.)

Examples

1
valueboxprint(input = input, df = newdate(input)(), x = 7, label = "recovered", colors = "aqua")

etc5523-2020/r-package-assessment-whysptra documentation built on Jan. 1, 2021, 1:13 a.m.