curl_async: Download Data

Description Usage Arguments Value Examples

View source: R/curl_async.R

Description

Fetch multiple data sources at once and parse them once they are downloaded.

Usage

1
curl_async(urls, .parse = RcppSimdJson::fparse)

Arguments

urls

'character(n)'. A vector of URLs.

.parse

'function'. The function used to parse the JSON data.

Value

The parsed JSON.

Examples

1
curl_async("https://fantasy.premierleague.com/api/element-summary/1/")

nathaneastwood/fpl documentation built on Nov. 22, 2020, 9:27 p.m.