Learn R Programming

crunch (version 1.30.4)

set_crunch_config: Set or modify general Crunch API request configuration

Description

Set or modify general Crunch API request configuration

Usage

set_crunch_config(
  cfg = c(config(postredir = 3), add_headers(`user-agent` = crunch_user_agent())),
  update = FALSE
)

Value

A list of length one containing the configuration that was set; this function is called primarily for its side effects.

Arguments

cfg

A httr::config() object