Skip to content

Commit

Permalink
allow multiple values in import tab filters
Browse files Browse the repository at this point in the history
allow multiple selections for characteristicName and characteristicType
  • Loading branch information
cristinamullin committed Dec 5, 2024
1 parent ad04a79 commit 6804bbe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/utils_track_progress.R
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,12 @@ invalidFile <- function(trigger) {


writeNarrativeDataFrame <- function(tadat) {
# sampleMedia and siteType need to be a single string for this part
# sampleMedia, siteType, characteristicName, and characteristicType need to be a single string for this part
# Others? Automatic check?
tadat$sampleMedia <- paste(tadat$sampleMedia, collapse = " ")
tadat$siteType <- paste(tadat$siteType, collapse = " ")
tadat$characteristicType <- paste(tadat$characteristicType, collapse = " ")
tadat$characteristicName <- paste(tadat$characteristicName, collapse = " ")
df <- data.frame(Parameter = character(), Value = character())
df[nrow(df) + 1, ] <- c("TADA Shiny Job ID", tadat$job_id)
df[nrow(df) + 1, ] <- c("Original data source: ", tadat$original_source)
Expand Down

0 comments on commit 6804bbe

Please sign in to comment.