Learn R Programming

data.world (version 1.2.2)

cfg_env: Construct configuration object using environment variables.

Description

Construct configuration object using environment variables.

Usage

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

Run this code
# NOT RUN {
envvars_cfg <- data.world::cfg_env()
data.world::set_config(envvars_cfg)
# }

Run the code above in your browser using DataLab