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 (this function is used to modify the Shiny session's state)

### Examples

    ## Not run:
     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.6.2 Index]