summarise_points: Trello Point Summary

Description Usage Arguments Examples

View source: R/summarise_points.R

Description

Summarise billed and unbilled points in a dataframe.

Usage

1
summarise_points(df, lowercase = TRUE, ...)

Arguments

df

A datafame

lowercase

"billed" and "points" by default. If FALSE, will use 'Billed?' and Points

...

Other arguments

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
library(tidyverse)
lowercase_df <- as.data.frame(list(points = seq(1, 10, by = 2),
                            billed = c("Yes", "No", "No", "Yes", "Yes")))

uppercase_df <- lowercase_df %>%
  rename(
    Points = points,
    `Billed?` = billed
  )

summarise_points(lowercase_df)
summarise_points(uppercase_df, lowercase = FALSE)

aedobbyn/dobtools documentation built on May 28, 2019, 2:33 a.m.