Skip to content

Commit

Permalink
Download with curl
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisnic committed Jul 13, 2024
1 parent 2871c83 commit 3cd9b85
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,11 @@ Repository URL: <https://github.com/thisisnic/introtoarrowneds>
```{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
)
```

Expand Down

0 comments on commit 3cd9b85

Please sign in to comment.