sd_summarise.RdAggregate SedonaDB DataFrames to a single row per group
sd_summarise(.data, ..., .env = parent.frame())
sd_summarize(.data, ..., .env = parent.frame())A sedonadb_dataframe or an object that can be coerced to one.
Aggregate expressions. These are evaluated in the same way as
dplyr::summarise() except the outer expression must be an aggregate
expression (e.g., sum(x) + 1 is not currently possible).
The calling environment for programmatic usage
An object of class sedonadb_dataframe
data.frame(x = c(10:1, NA)) |> sd_summarise(x = sum(x, na.rm = TRUE))
#> <sedonab_dataframe: ?? x 1>
#> ┌───────┐
#> │ x │
#> │ int64 │
#> ╞═══════╡
#> │ 55 │
#> └───────┘
#> Preview of up to 6 row(s)