print_scoreboard: Print nicely formatted Scoreboard

Description Usage Arguments Details Value

Description

print_scoreboard prints a simply-formatted version of the 'Dashboard' worksheet from the Daily Mini spreadsheet. Tables are narrow enough to be displayed in the Slack app on an iPhone 6.

Usage

1
print_scoreboard(s, given_only = TRUE)

Arguments

s

A data frame version of the "simple_dashboard" worksheet in the Daily Mini spreadsheet.

given_only

A boolean that determines whether or not to only print the player's given name in the table. Defaults to TRUE.

Details

Technically, this function prints a simply-formatted version of the 'simple_dashboard' worksheet. This worksheet is nearly identical to the 'Dashboard' worksheet apart from some labeling and formatting differences. One major difference, however, is that 'Dashboard' sometimes reports multiple statistics for a single category (e.g., 'Total Points' and 'Average Time'), while 'simple_dashboard' only reports the most relevant.

Value

A formatted table.


bochocki/slackrsheets documentation built on May 8, 2019, 9:46 a.m.