2020-10-27 00:21:24 +03:00
|
|
|
% Generated by roxygen2: do not edit by hand
|
|
|
|
% Please edit documentation in R/email_line.R
|
|
|
|
\name{email_line}
|
|
|
|
\alias{email_line}
|
|
|
|
\title{Email Time Trend - Line Chart}
|
|
|
|
\usage{
|
|
|
|
email_line(data, hrvar = "Organization", mingroup = 5, return = "plot")
|
|
|
|
}
|
|
|
|
\arguments{
|
2020-10-30 15:34:03 +03:00
|
|
|
\item{data}{A Standard Person Query dataset in the form of a data frame.}
|
2020-10-27 00:21:24 +03:00
|
|
|
|
2021-03-18 14:34:35 +03:00
|
|
|
\item{hrvar}{String containing the name of the HR Variable by which to split
|
|
|
|
metrics. Defaults to \code{"Organization"}. To run the analysis on the total
|
|
|
|
instead of splitting by an HR attribute, supply \code{NULL} (without quotes).}
|
2020-10-27 00:21:24 +03:00
|
|
|
|
2021-03-18 14:34:35 +03:00
|
|
|
\item{mingroup}{Numeric value setting the privacy threshold / minimum group
|
|
|
|
size. Defaults to 5.}
|
2020-10-27 00:21:24 +03:00
|
|
|
|
2021-02-06 17:15:19 +03:00
|
|
|
\item{return}{String specifying what to return. This must be one of the following strings:
|
|
|
|
\itemize{
|
|
|
|
\item \code{"plot"}
|
|
|
|
\item \code{"table"}
|
|
|
|
}
|
|
|
|
|
|
|
|
See \code{Value} for more information.}
|
2020-10-27 00:21:24 +03:00
|
|
|
}
|
|
|
|
\value{
|
2021-02-08 12:14:23 +03:00
|
|
|
A different output is returned depending on the value passed to the \code{return} argument:
|
|
|
|
\itemize{
|
2021-03-30 19:40:16 +03:00
|
|
|
\item \code{"plot"}: 'ggplot' object. A faceted line plot for the metric.
|
2021-02-08 12:14:23 +03:00
|
|
|
\item \code{"table"}: data frame. A summary table for the metric.
|
|
|
|
}
|
2020-10-27 00:21:24 +03:00
|
|
|
}
|
|
|
|
\description{
|
|
|
|
Provides a week by week view of email time, visualised as line charts.
|
|
|
|
By default returns a line chart for email hours,
|
|
|
|
with a separate panel per value in the HR attribute.
|
|
|
|
Additional options available to return a summary table.
|
|
|
|
}
|
|
|
|
\examples{
|
2021-02-06 16:49:14 +03:00
|
|
|
# Return a line plot
|
2020-10-27 00:21:24 +03:00
|
|
|
email_line(sq_data, hrvar = "LevelDesignation")
|
|
|
|
|
2021-02-06 17:15:19 +03:00
|
|
|
# Return summary table
|
2020-10-27 00:21:24 +03:00
|
|
|
email_line(sq_data, hrvar = "LevelDesignation", return = "table")
|
|
|
|
|
|
|
|
}
|
|
|
|
\seealso{
|
2021-03-04 21:33:28 +03:00
|
|
|
Other Visualization:
|
|
|
|
\code{\link{afterhours_dist}()},
|
|
|
|
\code{\link{afterhours_fizz}()},
|
|
|
|
\code{\link{afterhours_line}()},
|
|
|
|
\code{\link{afterhours_rank}()},
|
|
|
|
\code{\link{afterhours_summary}()},
|
|
|
|
\code{\link{afterhours_trend}()},
|
|
|
|
\code{\link{collaboration_area}()},
|
|
|
|
\code{\link{collaboration_dist}()},
|
|
|
|
\code{\link{collaboration_fizz}()},
|
|
|
|
\code{\link{collaboration_line}()},
|
|
|
|
\code{\link{collaboration_rank}()},
|
|
|
|
\code{\link{collaboration_sum}()},
|
|
|
|
\code{\link{collaboration_trend}()},
|
|
|
|
\code{\link{create_bar}()},
|
2024-06-05 20:35:27 +03:00
|
|
|
\code{\link{create_bar_asis}()},
|
2021-03-04 21:33:28 +03:00
|
|
|
\code{\link{create_boxplot}()},
|
|
|
|
\code{\link{create_bubble}()},
|
|
|
|
\code{\link{create_dist}()},
|
|
|
|
\code{\link{create_fizz}()},
|
2021-11-03 14:59:51 +03:00
|
|
|
\code{\link{create_inc}()},
|
2021-03-04 21:33:28 +03:00
|
|
|
\code{\link{create_line}()},
|
2024-06-05 20:35:27 +03:00
|
|
|
\code{\link{create_line_asis}()},
|
2021-03-04 21:33:28 +03:00
|
|
|
\code{\link{create_period_scatter}()},
|
|
|
|
\code{\link{create_rank}()},
|
|
|
|
\code{\link{create_sankey}()},
|
|
|
|
\code{\link{create_scatter}()},
|
|
|
|
\code{\link{create_stacked}()},
|
2021-06-14 15:54:09 +03:00
|
|
|
\code{\link{create_tracking}()},
|
2021-03-04 21:33:28 +03:00
|
|
|
\code{\link{create_trend}()},
|
|
|
|
\code{\link{email_dist}()},
|
|
|
|
\code{\link{email_fizz}()},
|
|
|
|
\code{\link{email_rank}()},
|
|
|
|
\code{\link{email_summary}()},
|
|
|
|
\code{\link{email_trend}()},
|
2022-05-30 17:09:18 +03:00
|
|
|
\code{\link{external_dist}()},
|
2022-06-07 18:32:41 +03:00
|
|
|
\code{\link{external_fizz}()},
|
2022-06-07 20:01:18 +03:00
|
|
|
\code{\link{external_line}()},
|
2021-03-05 01:19:07 +03:00
|
|
|
\code{\link{external_network_plot}()},
|
2022-06-08 17:40:42 +03:00
|
|
|
\code{\link{external_rank}()},
|
2022-05-30 16:51:51 +03:00
|
|
|
\code{\link{external_sum}()},
|
2021-03-05 14:18:35 +03:00
|
|
|
\code{\link{hr_trend}()},
|
|
|
|
\code{\link{hrvar_count}()},
|
2021-05-05 12:08:10 +03:00
|
|
|
\code{\link{hrvar_trend}()},
|
2021-03-05 17:05:00 +03:00
|
|
|
\code{\link{internal_network_plot}()},
|
|
|
|
\code{\link{keymetrics_scan}()},
|
|
|
|
\code{\link{meeting_dist}()},
|
|
|
|
\code{\link{meeting_fizz}()},
|
|
|
|
\code{\link{meeting_line}()},
|
|
|
|
\code{\link{meeting_quality}()},
|
|
|
|
\code{\link{meeting_rank}()},
|
|
|
|
\code{\link{meeting_summary}()},
|
|
|
|
\code{\link{meeting_trend}()},
|
2024-06-05 20:35:27 +03:00
|
|
|
\code{\link{meetingtype_dist}()},
|
2021-03-05 17:05:00 +03:00
|
|
|
\code{\link{meetingtype_dist_ca}()},
|
|
|
|
\code{\link{meetingtype_dist_mt}()},
|
|
|
|
\code{\link{meetingtype_summary}()},
|
|
|
|
\code{\link{mgrcoatt_dist}()},
|
|
|
|
\code{\link{mgrrel_matrix}()},
|
|
|
|
\code{\link{one2one_dist}()},
|
|
|
|
\code{\link{one2one_fizz}()},
|
2021-03-10 00:24:29 +03:00
|
|
|
\code{\link{one2one_freq}()},
|
2021-03-05 17:05:00 +03:00
|
|
|
\code{\link{one2one_line}()},
|
|
|
|
\code{\link{one2one_rank}()},
|
|
|
|
\code{\link{one2one_sum}()},
|
|
|
|
\code{\link{one2one_trend}()},
|
|
|
|
\code{\link{period_change}()},
|
|
|
|
\code{\link{workloads_dist}()},
|
|
|
|
\code{\link{workloads_fizz}()},
|
|
|
|
\code{\link{workloads_line}()},
|
|
|
|
\code{\link{workloads_rank}()},
|
|
|
|
\code{\link{workloads_summary}()},
|
|
|
|
\code{\link{workloads_trend}()},
|
|
|
|
\code{\link{workpatterns_area}()},
|
|
|
|
\code{\link{workpatterns_rank}()}
|
2021-03-04 21:33:28 +03:00
|
|
|
|
2020-10-27 00:21:24 +03:00
|
|
|
Other Emails:
|
|
|
|
\code{\link{email_dist}()},
|
|
|
|
\code{\link{email_fizz}()},
|
|
|
|
\code{\link{email_rank}()},
|
|
|
|
\code{\link{email_summary}()},
|
|
|
|
\code{\link{email_trend}()}
|
|
|
|
}
|
|
|
|
\concept{Emails}
|
2021-03-04 21:33:28 +03:00
|
|
|
\concept{Visualization}
|