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