configure: Library configuration tool.

Description Usage Arguments DO NOT SHARE YOUR AUTHENTICATION TOKEN Examples

View source: R/config.R

Description

Configuration is not persistent and must be performed for every new R session.

Usage

1

Arguments

auth_token

data.world's API authentication token.

DO NOT SHARE YOUR AUTHENTICATION TOKEN

For your security, do not include your API authentication token in code that is intended to be shared with others.

Call this function via console, always when possible.

If you must call it in code do not include the actual API token. Instead, pass the token via a variable in .Renviron, and do not share your .Renviron file. For example:

dwapi::configure(auth_token = Sys.getenv("DW_AUTH_TOKEN"))

Examples

1
dwapi::configure(auth_token = "YOUR_API_TOKEN_HERE")

datadotworld/dwapi-r documentation built on July 3, 2021, 3:40 a.m.