Learn R Programming

safetyGraphics (version 1.1.0)

safetyGraphicsApp: Run the interactive safety graphics builder

Description

Run the interactive safety graphics builder

Usage

safetyGraphicsApp(charts = NULL, maxFileSize = NULL,
  settingsLocation = ".", customSettings = "customSettings.R",
  loadData = FALSE)

Arguments

charts

Character vector of charts to include

maxFileSize

maximum file size in MB allowed for file upload

settingsLocation

folder location of user-defined settings metadata. Files should be named settingsMetadata.rda, chartsMetadata.rda and standardsMetadata.rda and use the same structure established in the /data folder. Defaults to current working directory.

customSettings

Name of R script containing settings customizations to be run before the app is initialized. This is the recommended way to add additional charts (via addChart()), settings (addSetting()) and data standards (addStandard()). default = 'settingsLocation/customSettings.R'

loadData

Option to pre-load data into the app. Defaults to FALSE.