#' @export
group_by <- function(qry, ...) UseMethod("group_by", qry)
#' @export
group_by.FltQuery <-
function(qry, ...)
{
for ( fld in search_fields(qry$flight, ...)) {
n_gby <- length(qry$queryset$groupBy)
qry$queryset$groupBy[[n_gby + 1]] <- list(fieldId = fld$id)
}
return(qry)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.