mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2026-06-19 05:07:30 +02:00
minor adjustments and bug fixing
This commit is contained in:
parent
f094394933
commit
40d95e41c3
14 changed files with 256 additions and 71 deletions
|
|
@ -5,6 +5,6 @@ account: agdamsbo
|
|||
server: shinyapps.io
|
||||
hostUrl: https://api.shinyapps.io/v1
|
||||
appId: 11351429
|
||||
bundleId: 9392320
|
||||
bundleId: 9392352
|
||||
url: https://agdamsbo.shinyapps.io/redcapcast/
|
||||
version: 1
|
||||
|
|
|
|||
|
|
@ -63,8 +63,8 @@ server <- function(input, output, session) {
|
|||
v$file <- "loaded"
|
||||
ds2dd_detailed(
|
||||
data = dat(),
|
||||
add.auto.id = input$add_id=="yes"
|
||||
)
|
||||
add.auto.id = input$add_id == "yes"
|
||||
)
|
||||
})
|
||||
|
||||
output$uploaded <- shiny::reactive({
|
||||
|
|
@ -131,8 +131,9 @@ server <- function(input, output, session) {
|
|||
filename = paste0("REDCapCAST_instrument", Sys.Date(), ".zip"),
|
||||
content = function(file) {
|
||||
export_redcap_instrument(purrr::pluck(dd(), "meta"),
|
||||
file = file,
|
||||
record.id = ifelse(input$add_id=="none",NA,names(dat())[1]))
|
||||
file = file,
|
||||
record.id = ifelse(input$add_id == "none", NA, names(dat())[1])
|
||||
)
|
||||
}
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,5 @@ ui <-
|
|||
bslib::page(
|
||||
theme = bslib::bs_theme(preset = "united"),
|
||||
title = "REDCap database creator",
|
||||
nav_bar_page()
|
||||
nav_bar_page()
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue