| sum_throughputs_by | R Documentation | 
All of the variables in input_data whose names end in tput_qty will be summed. tput_unit will be preserved. Ignores NAs.
sum_annual_throughputs_by() is a specialized variant that always groups by year.
sum_throughputs_by(
  input_data,
  ...,
  digits = Inf,
  signif = Inf,
  verbose = getOption("verbose")
)
sum_annual_throughputs_by(...)
input_data | 
 (tabular)  | 
... | 
 variables to group by  | 
digits | 
 (integer) passed to   | 
signif | 
 (integer) passed to   | 
verbose | 
 (logical)  | 
annual_throughputs_by(...) is equivalent to sum_annual_throughputs_by(), but the latter is now preferred.
Other sum_by: 
sum_emissions_by(),
sum_quantities_by()
df <- tibble(year = 1990:1993, foo = rep(c("bar", "baz"), 2), tput_qty = 1:4, tput_unit = "kgal")
df %>% sum_annual_throughputs_by(foo, verbose = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.