#' @title workforcePlan
#' @description Launch a simple, interactive workforce planning worksheet that helps managers and
#' team leaders to execute basic workforce planning tasks and plan ahead for hiring, turnover, and other
#' factors that influence a team's talent structure. Data analysts can use this alongside
#' team leaders to convey change and proactively think about recruitment, etc.
#' @param launch.browser Logical; whether the app should launch in the user's default browser
#' @import shiny
#' @import rhandsontable
#' @import data.table
#' @importFrom knitr kable
#' @export
workforcePlan = function(launch.browser=T){
appDir = system.file("workforcePlanApp",package="hR")
if(appDir==""){
stop("Could not find example directory. Try re-installing `hR`.", call. = FALSE)
}
# Launch the app in the user's default browser
runApp(appDir,display.mode="normal",launch.browser=launch.browser)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.