diff --git a/WebTechnologies.md b/WebTechnologies.md index 4a2eb99..6fdc96a 100644 --- a/WebTechnologies.md +++ b/WebTechnologies.md @@ -127,10 +127,11 @@ or Many base and CRAN packages provide functions that download files: -- [utils](https://stat.ethz.ch/R-manual/R-devel/library/utils/html/00Index.html)'s `download.file()`. -- `r pkg("curl")`'s `curl_download()`, and `curl_fetch_multi()`, and friends. -- An alternative is to use `httr::GET()` (or `RCurl::getURL()`) to first read -the file into R as a character vector before parsing with a function like `utils::read.table(text = ...)`. +- [utils](https://stat.ethz.ch/R-manual/R-devel/library/utils/html/00Index.html): `download.file()`. +- `r pkg("curl")`: `curl_download()`, `curl_fetch_multi()`, and friends. +- `r pkg("httr2")`: `req_perform(path = )`, or alternatively `req_perform()` piped to `resp_body_string()` +- `r pkg("httr")`: `GET()` +- `r pkg("RCurl")`: `getURL()` ### Parsing Structured Web Data