Learn R Programming

curlconverter (version 1.0.0)

curl_convert: Shortcut to convert a single cURL command-line into a single R function

Description

Shortcut to convert a single cURL command-line into a single R function

Usage

curl_convert(curls = read_clip(), quiet = FALSE)

Arguments

curls

a character vector of one or more cURL command lines. It will read from the clipboard (i.e. if you did a "Copy as cURL" from browser developer tools).

quiet

if FALSE, a message with the original cURL command line will be output. (Default: FALSE)

Value

an R function and a version of the function on the clipboard