Skip to content

Commit

Permalink
add more info to the json outputs (#453)
Browse files Browse the repository at this point in the history
  • Loading branch information
rcannood authored May 24, 2024
1 parent 4fbd8f5 commit 907447b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/common/process_task_results/get_dataset_info/script.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@ outputs <- map(datasets, function(dataset) {
"dataset_id" = dataset$dataset_id,
"dataset_name" = dataset$dataset_name,
"dataset_summary" = dataset$dataset_summary,
"dataset_description" = dataset$dataset_description %||% NA_character_,
"data_reference" = dataset$dataset_reference %||% NA_character_,
"data_url" = dataset$dataset_url %||% NA_character_
"data_url" = dataset$dataset_url %||% NA_character_,
"date_created" = dataset$date_created %||% NA_character_,
"file_size" = dataset$file_size %||% NA_character_
)

if (!is.null(dataset[["common_dataset_id"]])) {
Expand Down
1 change: 1 addition & 0 deletions src/common/process_task_results/get_method_info/script.R
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ outputs <- map(configs, function(config) {
method_id = info$id,
method_name = info$label,
method_summary = info$summary,
method_description = info$description,
is_baseline = grepl("control", info$type),
paper_reference = info$reference %||% NA_character_,
code_url = info$repository_url %||% NA_character_,
Expand Down
3 changes: 2 additions & 1 deletion src/common/process_task_results/get_metric_info/script.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ outputs <- map(configs, function(config) {
task_id = info$task_id,
metric_id = info$id,
metric_name = info$label,
metric_summary = info$description,
metric_summary = info$summary,
metric_description = info$description,
paper_reference = info$reference %||% NA_character_,
implementation_url = info$implementation_url %||% NA_character_,
code_version = NA_character_,
Expand Down

0 comments on commit 907447b

Please sign in to comment.