cfg_env: Construct configuration object using environment variables.

Description Usage Arguments Value Examples

View source: R/config.R

Description

Construct configuration object using environment variables.

Usage

1
cfg_env(auth_token_var = "DW_AUTH_TOKEN")

Arguments

auth_token_var

Name of environment variable for API authorization token (default: DW_AUTH_TOKEN).

Value

Object of type cfg_env

Examples

1
2
envvars_cfg <- data.world::cfg_env()
data.world::set_config(envvars_cfg)

datadotworld/data.world-r documentation built on July 2, 2021, 2:17 a.m.