Skip to content

Commit

Permalink
Merge pull request #110 from addelany/main
Browse files Browse the repository at this point in the history
add project id path
  • Loading branch information
addelany authored Sep 27, 2024
2 parents e9eb082 + 5a0fe5d commit ae1bb2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions R/build_forecast_scores.R
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,13 @@ build_forecast_scores <- function(table_schema,

aws_asset_link <- paste0('"',"s3://anonymous@",
aws_download_path,
"/project_id=", config$project_id,
#"/model_id=", model_id,
"?endpoint_override=",config$endpoint,'"')

aws_href_link <- paste0("s3://anonymous@",
aws_download_path,
"/project_id=", config$project_id,
#"/model_id=", model_id,
"?endpoint_override=",config$endpoint)

Expand Down
2 changes: 1 addition & 1 deletion R/generate_model_assets.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ generate_model_assets <- function(full_var_df, aws_path, model_code_link){
"?endpoint_override=",config$endpoint),
'description' = paste0("Use `arrow` for remote access to the database. This R code will return results for this variable and model combination.\n\n### R\n\n```{r}\n# Use code below\n\nall_results <- arrow::open_dataset(",paste0('"',"s3://anonymous@",
aws_path,
"project_id=", full_var_df$project_id[i],
"/project_id=", full_var_df$project_id[i],
"/duration=", full_var_df$duration[i],
"/variable=", full_var_df$variable[i],
"/model_id=", m,
Expand Down

0 comments on commit ae1bb2d

Please sign in to comment.