View source: R/check_availability.R
check_availability | R Documentation |
The function argument is a list of data frames that are required for some subsequent analysis. If any of the data frames are empty (i.e. the data have not been uploaded to the app), a message is returned as HTML code listing the names of the required data frames (= names of list items).
check_availability(list_data)
list_data |
Named list of data frames |
In the ADAPT app, individual analyses can only be performed if the
necessary output files are uploaded. If certain files are not uploaded,
the app produces empty data frames. In the app, the function
check_availability()
is used with the necessary data frames to check if they
have been uploaded and displays a message of the form "To generate this
analysis, please upload the following reports: x, y" otherwise.
Possibly empty HTML text, listing names of required data frames.
Ian Kopacka
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.