Nothing
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See LICENSE.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
#' @title Distribution of Manager 1:1 Time (Fizzy Drink plot)
#'
#' @description
#' Analyze weekly Manager 1:1 Time distribution, and returns
#' a 'fizzy' scatter plot by default.
#' Additional options available to return a table with distribution elements.
#'
#' @inheritParams create_fizz
#' @inherit create_fizz return
#'
#' @family Visualization
#' @family Managerial Relations
#'
#' @examples
#' # Return plot
#' one2one_fizz(sq_data, hrvar = "Organization", return = "plot")
#'
#' # Return a summary table
#' one2one_fizz(sq_data, hrvar = "Organization", return = "table")
#'
#' @export
one2one_fizz <- function(data,
hrvar = "Organization",
mingroup = 5,
return = "plot"){
cleaned_data <-
data %>%
mutate(`Scheduled 1:1 meeting minutes with manager` = Meeting_hours_with_manager_1_on_1 * 60)
create_fizz(data = cleaned_data,
metric = "Scheduled 1:1 meeting minutes with manager",
hrvar = hrvar,
mingroup = mingroup,
return = return)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.