PlotCallVolumeByDate: Create a plot of the resolution time by date

Description Usage Arguments Details Author(s)

Description

This function plots the resolution time (in hours) and produces a box

plot of those values as a function of date level.

Usage

1
2
3
4
PlotCallVolumeByDate(dF, beginDate = min(dF$assignedDate), endDate = max(dF$assignedDate), 


    ...)

Arguments

dF

The dataFrame for which to plot resolution time by date level.

beginDate

A character that includes the beginning

date of interest. Value must

be in the form "yyyy-mm-dd",

e.g., "2014-01-01". The function will

default to the earliest date in the data frame.

endDate

A character that includes the end date

of interest. Value must be in the

form "yyyy-mm-dd", e.g., "2014-01-01".

The function will default to the latest

date in the data frame.

...

Arguments to be passed to other functions. Specifically, this can take

the form of identifying which date value is of interest. For example

the sample datasets provided all had either at least assigned_at

or created_at values. The AssignDateAndDay can used

either of these values as the date of interest.

Details

This functions converts dates that are not represented in the data

frame to 0 values. However, 0 value dates are only 'filled in;'

that is, the function only fills in dates. It does not extend the date field.

For example, if the data frame has dates 2014-01-01, 2014-01-03,

and 2014-01-05, this function fills in the date gaps.

Plots are generated by the function ggplot

Author(s)

Steven H. Ranney

Contact: Steven.Ranney@gmail.com

Steven Ranney


stevenranney/ispiranteRanney documentation built on May 30, 2019, 4:46 p.m.