Allows the ability to quickly
filter plottable data by column or
directly plot with ggplot2
/plotly
.
plot_planner( planner, by = "tasks", data_only = FALSE, plot_type = NA, interactive = FALSE, ... )
planner | Planner data returned from read_planner() |
---|---|
by | Column to filter planner data by. Either: "tasks", "checklists", "priority", "late", "assigned_to", or "completed_by" |
data_only | If |
plot_type | Character of plot type. Supports: |
interactive | If |
... | Extra arguments for ggplot labs() |
Either plottable data as a tibble
, ggplot
object, or plotly
object.
if (FALSE) { ## Basic Usage plot_planner(plan_xlsx, by = "checklists") ## Filtered Plottable Plan Data plot_planner(plan_xlsx, by = "priority", data_only = TRUE) ## Extended with ggplot2 plot_planner( plan_xlsx, by = "tasks", plot_type = "basic", title = "Tasks Progress" ) + geom_bar() + theme_bw() ## Extended with plotly plot_planner( plan_xlsx, by = "checklists", interactive = TRUE, title = "Interactive Donut Chart" ) }