Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make minor path fix #46

Merged
merged 3 commits into from
Nov 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions R/build_noaa_forecast.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,10 @@ build_noaa_forecast <- function(table_schema,

forecast_asset_link <- paste0("s3://anonymous@",
aws_download_path,
'/', path_item,
path_item,
"/parquet/0",
"?endpoint_override=",config$noaa_endpoint)

# scores_asset_link <- paste0("s3://anonymous@",
# aws_download_path,
# "/catalog/scores",
# "/project_id=", project_identifier,
# "?endpoint_override=",config$endpoint)

forecast_asset_description <- paste0("Use `arrow` for remote access to the database. This R code will return results for NEON forecasts associated with the forecasting challenge.\n\n### R\n\n```{r}\n# Use code below\n\nall_results <- arrow::open_dataset(",forecast_asset_link,")\ndf <- all_results |> dplyr::collect()\n\n```
\n\nYou can use dplyr operations before calling `dplyr::collect()` to `summarise`, `select` columns, and/or `filter` rows prior to pulling the data into a local `data.frame`. Reducing the data that is pulled locally will speed up the data download speed and reduce your memory usage.\n\n\n")

Expand Down
Loading