This commit is contained in:
Martin Chan 2021-03-18 14:17:46 +00:00
Родитель 7b959f4f15
Коммит 83648b40ff
8 изменённых файлов: 45 добавлений и 42 удалений

Просмотреть файл

@ -10,16 +10,12 @@
#' Returns a stacked bar plot by default. #' Returns a stacked bar plot by default.
#' Additional options available to return a table with distribution elements. #' Additional options available to return a table with distribution elements.
#' #'
#' @param data A Standard Person Query dataset in the form of a data frame. #' @template spq-params
#' @param metric String containing the name of the metric, #' @param metric String containing the name of the metric,
#' e.g. "Collaboration_hours" #' e.g. "Collaboration_hours"
#' @param hrvar HR Variable by which to split metrics. Accepts a character
#' vector, defaults to "Organization" but accepts any character vector, e.g.
#' "LevelDesignation"
#' @param mingroup Numeric value setting the privacy threshold / minimum group
#' size, defaults to 5.
#' #'
#' @param return String specifying what to return. This must be one of the following strings: #' @param return String specifying what to return. This must be one of the
#' following strings:
#' - `"plot"` #' - `"plot"`
#' - `"table"` #' - `"table"`
#' #'

Просмотреть файл

@ -15,14 +15,15 @@ afterhours_dist(
\arguments{ \arguments{
\item{data}{A Standard Person Query dataset in the form of a data frame.} \item{data}{A Standard Person Query dataset in the form of a data frame.}
\item{hrvar}{HR Variable by which to split metrics. Accepts a character \item{hrvar}{String containing the name of the HR Variable by which to split
vector, defaults to "Organization" but accepts any character vector, e.g. metrics. Defaults to \code{"Organization"}. To run the analysis on the total
"LevelDesignation"} instead of splitting by an HR attribute, supply \code{NULL} (without quotes).}
\item{mingroup}{Numeric value setting the privacy threshold / minimum group \item{mingroup}{Numeric value setting the privacy threshold / minimum group
size, defaults to 5.} size. Defaults to 5.}
\item{return}{String specifying what to return. This must be one of the following strings: \item{return}{String specifying what to return. This must be one of the
following strings:
\itemize{ \itemize{
\item \code{"plot"} \item \code{"plot"}
\item \code{"table"} \item \code{"table"}

Просмотреть файл

@ -24,14 +24,15 @@ collab_dist(
\arguments{ \arguments{
\item{data}{A Standard Person Query dataset in the form of a data frame.} \item{data}{A Standard Person Query dataset in the form of a data frame.}
\item{hrvar}{HR Variable by which to split metrics. Accepts a character \item{hrvar}{String containing the name of the HR Variable by which to split
vector, defaults to "Organization" but accepts any character vector, e.g. metrics. Defaults to \code{"Organization"}. To run the analysis on the total
"LevelDesignation"} instead of splitting by an HR attribute, supply \code{NULL} (without quotes).}
\item{mingroup}{Numeric value setting the privacy threshold / minimum group \item{mingroup}{Numeric value setting the privacy threshold / minimum group
size, defaults to 5.} size. Defaults to 5.}
\item{return}{String specifying what to return. This must be one of the following strings: \item{return}{String specifying what to return. This must be one of the
following strings:
\itemize{ \itemize{
\item \code{"plot"} \item \code{"plot"}
\item \code{"table"} \item \code{"table"}

Просмотреть файл

@ -21,14 +21,15 @@ create_dist(
\item{metric}{String containing the name of the metric, \item{metric}{String containing the name of the metric,
e.g. "Collaboration_hours"} e.g. "Collaboration_hours"}
\item{hrvar}{HR Variable by which to split metrics. Accepts a character \item{hrvar}{String containing the name of the HR Variable by which to split
vector, defaults to "Organization" but accepts any character vector, e.g. metrics. Defaults to \code{"Organization"}. To run the analysis on the total
"LevelDesignation"} instead of splitting by an HR attribute, supply \code{NULL} (without quotes).}
\item{mingroup}{Numeric value setting the privacy threshold / minimum group \item{mingroup}{Numeric value setting the privacy threshold / minimum group
size, defaults to 5.} size. Defaults to 5.}
\item{return}{String specifying what to return. This must be one of the following strings: \item{return}{String specifying what to return. This must be one of the
following strings:
\itemize{ \itemize{
\item \code{"plot"} \item \code{"plot"}
\item \code{"table"} \item \code{"table"}

Просмотреть файл

@ -15,14 +15,15 @@ email_dist(
\arguments{ \arguments{
\item{data}{A Standard Person Query dataset in the form of a data frame.} \item{data}{A Standard Person Query dataset in the form of a data frame.}
\item{hrvar}{HR Variable by which to split metrics. Accepts a character \item{hrvar}{String containing the name of the HR Variable by which to split
vector, defaults to "Organization" but accepts any character vector, e.g. metrics. Defaults to \code{"Organization"}. To run the analysis on the total
"LevelDesignation"} instead of splitting by an HR attribute, supply \code{NULL} (without quotes).}
\item{mingroup}{Numeric value setting the privacy threshold / minimum group \item{mingroup}{Numeric value setting the privacy threshold / minimum group
size, defaults to 5.} size. Defaults to 5.}
\item{return}{String specifying what to return. This must be one of the following strings: \item{return}{String specifying what to return. This must be one of the
following strings:
\itemize{ \itemize{
\item \code{"plot"} \item \code{"plot"}
\item \code{"table"} \item \code{"table"}

Просмотреть файл

@ -15,14 +15,15 @@ meeting_dist(
\arguments{ \arguments{
\item{data}{A Standard Person Query dataset in the form of a data frame.} \item{data}{A Standard Person Query dataset in the form of a data frame.}
\item{hrvar}{HR Variable by which to split metrics. Accepts a character \item{hrvar}{String containing the name of the HR Variable by which to split
vector, defaults to "Organization" but accepts any character vector, e.g. metrics. Defaults to \code{"Organization"}. To run the analysis on the total
"LevelDesignation"} instead of splitting by an HR attribute, supply \code{NULL} (without quotes).}
\item{mingroup}{Numeric value setting the privacy threshold / minimum group \item{mingroup}{Numeric value setting the privacy threshold / minimum group
size, defaults to 5.} size. Defaults to 5.}
\item{return}{String specifying what to return. This must be one of the following strings: \item{return}{String specifying what to return. This must be one of the
following strings:
\itemize{ \itemize{
\item \code{"plot"} \item \code{"plot"}
\item \code{"table"} \item \code{"table"}

Просмотреть файл

@ -15,14 +15,15 @@ one2one_dist(
\arguments{ \arguments{
\item{data}{A Standard Person Query dataset in the form of a data frame.} \item{data}{A Standard Person Query dataset in the form of a data frame.}
\item{hrvar}{HR Variable by which to split metrics. Accepts a character \item{hrvar}{String containing the name of the HR Variable by which to split
vector, defaults to "Organization" but accepts any character vector, e.g. metrics. Defaults to \code{"Organization"}. To run the analysis on the total
"LevelDesignation"} instead of splitting by an HR attribute, supply \code{NULL} (without quotes).}
\item{mingroup}{Numeric value setting the privacy threshold / minimum group \item{mingroup}{Numeric value setting the privacy threshold / minimum group
size, defaults to 5.} size. Defaults to 5.}
\item{return}{String specifying what to return. This must be one of the following strings: \item{return}{String specifying what to return. This must be one of the
following strings:
\itemize{ \itemize{
\item \code{"plot"} \item \code{"plot"}
\item \code{"table"} \item \code{"table"}

Просмотреть файл

@ -15,14 +15,15 @@ workloads_dist(
\arguments{ \arguments{
\item{data}{A Standard Person Query dataset in the form of a data frame.} \item{data}{A Standard Person Query dataset in the form of a data frame.}
\item{hrvar}{HR Variable by which to split metrics. Accepts a character \item{hrvar}{String containing the name of the HR Variable by which to split
vector, defaults to "Organization" but accepts any character vector, e.g. metrics. Defaults to \code{"Organization"}. To run the analysis on the total
"LevelDesignation"} instead of splitting by an HR attribute, supply \code{NULL} (without quotes).}
\item{mingroup}{Numeric value setting the privacy threshold / minimum group \item{mingroup}{Numeric value setting the privacy threshold / minimum group
size, defaults to 5.} size. Defaults to 5.}
\item{return}{String specifying what to return. This must be one of the following strings: \item{return}{String specifying what to return. This must be one of the
following strings:
\itemize{ \itemize{
\item \code{"plot"} \item \code{"plot"}
\item \code{"table"} \item \code{"table"}