OwenStOnge commited on
Commit
b3461e5
·
verified ·
1 Parent(s): bc8d035

Update app.R

Browse files
Files changed (1) hide show
  1. app.R +1 -1
app.R CHANGED
@@ -1950,7 +1950,7 @@ observe({
1950
  scrape_status_msg("GitHub finished! Fetching data...")
1951
 
1952
  # Auto-fetch the CSV
1953
- filename <- paste0(input$scrape_source, "_", input$start_date, "_to_", input$end_date, ".csv")
1954
  url <- paste0("https://api.github.com/repos/", gh_repo, "/contents/data/", filename)
1955
 
1956
  data <- tryCatch({
 
1950
  scrape_status_msg("GitHub finished! Fetching data...")
1951
 
1952
  # Auto-fetch the CSV
1953
+ filename <- paste0(input$scrape_source, "_", input$start_date, "_to_", input$end_date, ".csv.gz")
1954
  url <- paste0("https://api.github.com/repos/", gh_repo, "/contents/data/", filename)
1955
 
1956
  data <- tryCatch({