Uses very generic dplyr code to aggregate data and then `ggplot2` to create the boxplot Because of this approach, the calculations automatically run inside the database if `data` has a database or sparklyr connection. The `class()` of such tables in R are: tbl_sql, tbl_dbi, tbl_spark
It currently only works with Spark and Hive connections.
dbplot_boxplot(data, x, var, coef = 1.5)
A table (tbl)
A discrete variable in which to group the boxplots
A continuous variable
Length of the whiskers as multiple of IQR. Defaults to 1.5