button_send_datamap: button_send_datamap

View source: R/custom_buttons.R

button_send_datamapR Documentation

button_send_datamap

Description

This function is an exported wrapper around the actual function to send the datamap. This actual function can be customized by the user.

Usage

button_send_datamap(rv)

Arguments

rv

The global rv object. rv$datamap needs to be valid.

Value

This functions is used to trigger logic when clicking the "Send Datamap" button on the dashboard (default: triggers the composing of an email by making use of the java-script command window.open('mailto: ...')). When customizing DQAgui, the function button_send_datamap can be overwritten in the namespace to trigger any other logic, wanted by the user.

Examples

if (interactive()) {
  button_send_datamap(rv=rv)
}


miracum/dqa-dqagui documentation built on Feb. 12, 2025, 6:08 a.m.