Nothing
Are employees able to engage in uninterrupted focus time?
KPI_1 <- my_sq_data %>% create_bar(hrvar = NULL, metric = "Total_focus_hours_daily", return = "table") %>% pull("Total_focus_hours_daily") %>% round(1) paste(KPI_1, "total focus hours") %>% flexdashboard::valueBox(icon = "fa-user-edit", color = "#34b1e2")
resilience1_w1_plot1 <- my_sq_data %>% create_bar(hrvar = hrvar, metric = "Total_focus_hours_daily", rank = NULL, percent = FALSE) resilience1_w1_plot1 + labs(title = "Focus Time", subtitle = paste("Average hours per person per day"))
if(sum(my_sq_data$Unscheduled_collaboration_hours_daily, na.rm = TRUE) == 0){ KPI_4 <- 0 } else { KPI_4 <- my_sq_data %>% create_bar(hrvar = NULL, metric = "Unscheduled_collaboration_hours_daily", return ="table") %>% pull(Unscheduled_collaboration_hours_daily) %>% .[[1]] %>% round(1) } paste(KPI_4, "unscheduled collaboration hours") %>% flexdashboard::valueBox(icon = "fa-phone", color = "#f59b76")
if(sum(my_sq_data$Unscheduled_collaboration_hours_daily, na.rm = TRUE) == 0){ md2html("## Note: there is insufficient data to display.") } else { resilience1_w2_plot1 <- my_sq_data %>% create_bar(hrvar = hrvar, rank = NULL, bar_colour = "#f59b76", metric = "Unscheduled_collaboration_hours_daily") resilience1_w2_plot1 + labs(title = "Unscheduled Collaboration", subtitle = paste("Average hours per person per day")) }
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.