shiny::downloadButton("downloadMeta","Download data dictionary"),
# Button
shiny::downloadButton("downloadInstrument","Download as instrument"),
# Horizontal line ----
shiny::tags$hr(),
shiny::radioButtons(
inputId="upload_redcap",
label="Upload directly to REDCap server?",
selected="no",
inline=TRUE,
choices=list(
"No"="no",
"Yes"="yes"
)
),
shiny::conditionalPanel(
condition="input.upload_redcap=='yes'",
shiny::h4("2) Data base upload"),
shiny::helpText("This tool is usable for now. Detailed instructions are coming."),
shiny::textInput(
inputId="uri",
label="URI",
value="https://redcap.your.institution/api/"
),
shiny::textInput(
inputId="api",
label="API key",
value=""
),
shiny::helpText("An API key is an access key to the REDCap database. Please",shiny::a("see here for directions",href="https://www.iths.org/news/redcap-tip/redcap-api-101/")," to obtain an API key for your project."),