diff --git a/index.qmd b/index.qmd index 24a3d48..4860a4a 100644 --- a/index.qmd +++ b/index.qmd @@ -56,10 +56,11 @@ Repository URL: ```{r} #| label: get-data #| eval: false -options(timeout = 1800) -download.file( - url = "https://r4ds.s3.us-west-2.amazonaws.com/seattle-library-checkouts.csv", - destfile = "./data/seattle-library-checkouts.csv" +options(timeout = 18000) +curl::multi_download( + "https://r4ds.s3.us-west-2.amazonaws.com/seattle-library-checkouts.csv", + "data/seattle-library-checkouts.csv", + resume = TRUE ) ```