R/plot_volume_over_time.R
plot_volume_over_time.Rd
You can use the 'time' argument to display counts for different timeframes, e.g. time = "day" will give a chart where each bar represents the volume counts for a day.
plot_volume_over_time(
df,
date,
...,
smooth = FALSE,
bar_colour = share_colours[4],
time = c("day", "week", "month", "quarter", "year")
)
Data Frame or Tibble object
Date column
passed to geom_smooth
Add a local average smoothing line to the plot?
Colour of bars - string, name of hexcode
select unit e.g. ("day", "week", "month", "quarter", "year")
a plot of volume over time