key_from_file: Set the environment variable for the API key from a file

Description Usage Arguments Details Value

Description

The environment variable QUALTRICS_KEY should give an API key for communication with the Qualtrics survey platform. key_from_file sets it using the contents of a file.

Usage

1
key_from_file(file = ".api_key", verbose = FALSE)

Arguments

file

A filename.

verbose

Whether to print the result of reading from file, or not (the default).

Details

The environment variable for the API key can be set during startup (recommended), interactively with Sys.setenv or through key_from_file.

Value

Invisibly returns the value of the environment variable QUALTRICS_KEY, after setting it as a side effect.


jamesdunham/qsurvey documentation built on May 18, 2019, 11:20 a.m.