Spaces:
Running
Running
Update app.R
Browse files
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({
|