loadRequiredData {psichomics} | R Documentation

## Missing information modal template

### Description

Missing information modal template

### Usage

    loadRequiredData(modal = NULL)

    missingDataModal(session, dataType, buttonId)

    missingDataGuide(dataType)

### Arguments

`modal` | Character: modal identifier
`session` | Shiny session
`dataType` | Character: type of data missing
`buttonId` | Character: identifier of button to take user to load missing data

### Value

`NULL` (function is only used to modify the Shiny session's state or internal variables)

### Examples

    ## Not run:
    if (shiny::isRunning()) {
        session <- session$ns
        buttonInput <- "takeMeThere"
        buttonId <- ns(buttonInput)
        dataType <- "Inclusion levels"
        missingDataModal(session, buttonId, dataType)
        observeEvent(input[[buttonInput]], missingDataGuide(dataType))
    }

    ## End(Not run)

[Package psichomics version 1.18.6 Index]