Skip to content

Commit

Permalink
Merge branch 'main' of github.com:SurgicalInformatics/gecko_shinyviz …
Browse files Browse the repository at this point in the history
…into main
  • Loading branch information
riinuots committed Apr 15, 2024
2 parents 34045e4 + 383ef25 commit 245dbeb
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
16 changes: 15 additions & 1 deletion R/app_server.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,27 @@ library(magrittr)
board = board_connect()
appdata = pin_read(board, "rots/gecko_appdata")
updated_date = pin_meta(board, "rots/gecko_appdata")$created
validation = pin_read(board, "rots/gecko_validation")

validation_done = validation %>%
filter(val1_done, val2_done)

appdata = appdata %>%
mutate(validated = if_else(redcap_data_access_group %in% validation_done$dag,
"Validated",
"Not validated") %>%
forcats::fct_relevel("Validated") %>%
finalfit::ff_label("Validated"), .after = ALL)

# appdata %>%
# count(validated)

allvars = appdata %>%
select(-redcap_data_access_group) %>%
finalfit::extract_labels() %>%
select(vname, vfill) %$%
setNames(as.list(vname), vfill)


app_server <- function( input, output, session ) {
# List the first level callModules here
library(dplyr)
Expand Down
2 changes: 1 addition & 1 deletion rsconnect/argoshare.is.ed.ac.uk/rots/gecko_shinyviz.dcf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ account: rots
server: argoshare.is.ed.ac.uk
hostUrl: https://argoshare.is.ed.ac.uk/__api__
appId: 639
bundleId:
bundleId: 3830
url: https://argoshare.is.ed.ac.uk/gecko_shinyviz/
asMultiple: FALSE
asStatic: FALSE
Expand Down

0 comments on commit 245dbeb

Please sign in to comment.