From 6c8f77655f8ef5e3976e67c5a2475cf8ad2435bf Mon Sep 17 00:00:00 2001 From: Christina Conrad <114612268+cconrad8@users.noreply.github.com> Date: Mon, 21 Oct 2024 16:57:05 -0400 Subject: [PATCH] Update new_project_from_json.R --- new_project/new_project_from_json.R | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/new_project/new_project_from_json.R b/new_project/new_project_from_json.R index e5eb079..357bb5e 100644 --- a/new_project/new_project_from_json.R +++ b/new_project/new_project_from_json.R @@ -32,6 +32,9 @@ setup_from_config <- function(config_file, skip_register = register_check) { FOCUS <- paste(unlist(config$diseaseFocus), collapse = ",") MANIFESTATIONS <- paste(unlist(config$diseaseManifestations), collapse = ", ") GRANT_DOI <- paste(config$grantDOI, collapse = ", ") + GRANT_START <- config$grantStartDate + GRANT_END <- config$grantEndDate + EMBARGO_END <- config$embargoEndDate # Other governance INITPUBLICVIEW <- config$governance$initPublicView @@ -77,7 +80,10 @@ setup_from_config <- function(config_file, skip_register = register_check) { initiative = INITIATIVE, publicview = INITPUBLICVIEW, datasets = DATASETS, - other_resources = OTHER_RESOURCES + other_resources = OTHER_RESOURCES, + grant_start_date=GRANT_START, + grant_end_date=GRANT_END, + embargo_end_date=EMBARGO_END ) PROJECT_ID <- created_project$properties$id