diff --git a/R/build_model.R b/R/build_model.R index 5b8eb26..ac581b3 100644 --- a/R/build_model.R +++ b/R/build_model.R @@ -46,6 +46,11 @@ build_model <- function(model_id, #variables_reformat <- as.list(var_values) site_reformat <- paste(site_values, collapse = ", ") + ## manipulate dates to match STAC format + start_date <- paste0(start_date,"T00:00:00Z") + end_date <- paste0(end_date,"T00:00:00Z") + + aws_asset_link <- paste0('"',"s3://anonymous@", aws_download_path, "/project_id=", config$project_id, diff --git a/R/generate_authors.R b/R/generate_authors.R index 08d6baf..7038ef9 100644 --- a/R/generate_authors.R +++ b/R/generate_authors.R @@ -19,7 +19,8 @@ generate_authors <- function(model, metadata_table){ }else if (model_info$`Can we publicly list your name and email as part of the model metadata?` == 'Yes'){ - url_info <- model_info$`Contact email` + #url_info <- model_info$`Contact email` + url_info <- model_info$`Web link to model code` name_info <- model_info$`Contact name` x <- list(list('url' = url_info,