Skip to content

Commit

Permalink
Append raw=true for url downloading large CSV from github
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardMN committed Jun 14, 2022
1 parent d87a3ac commit 7960bba
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion R/Italy.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Italy <- R6::R6Class("Italy",
#' only entry, is be named main.
# nolint start
common_data_urls = list(
"main" = "https://github.com/InPhyT/COVID19-Italy-Integrated-Surveillance-Data/blob/main/epiforecasts_covidregionaldata/COVID19-Italy-Integrated-Surveillance-Data.csv"
"main" = "https://github.com/InPhyT/COVID19-Italy-Integrated-Surveillance-Data/raw/main/epiforecasts_covidregionaldata/COVID19-Italy-Integrated-Surveillance-Data.csv?raw=true"
),
# nolint end
#' @field source_data_cols existing columns within the raw data
Expand Down
1 change: 0 additions & 1 deletion data-raw/render_available_datasets.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@

all_country_data <- get_available_datasets(render = TRUE)
usethis::use_data(all_country_data, overwrite = TRUE)
#
Binary file modified data/all_country_data.rda
Binary file not shown.

0 comments on commit 7960bba

Please sign in to comment.