download_url: Download a URL.

Description Usage Arguments Value

View source: R/crawler.R

Description

Download a URL.

Usage

1
download_url(url, timeout = 10, sleep = NULL, api_format = NULL)

Arguments

url

URL download.

timeout

Timeout for HTTP request.

sleep

Sleep time in seconds before download..

api_format

API format. Can be json, xml or csv.

Value

The content of the downloaded URL.


stephLH/webr documentation built on Dec. 25, 2019, 2:54 p.m.