Learn R Programming

captr (version 0.3.0)

set_token: Sets Application Token

Description

Captricity requires an application token to use the API. Get the token from https://shreddr.captricity.com/. The functions looks for CaptricityToken in the environment. If it doesn't find it or if change is forced, it looks for arguments passed in the function. If it fails to find that, it asks for input.

Usage

set_token(app_token = NULL, force = FALSE)

Arguments

app_token
Application token. Get these from https://shreddr.captricity.com/developer/.
force
Force change the CaptricityToken stored in the environment

Details

Run this function before anything else.

References

https://shreddr.captricity.com/developer/

Examples

Run this code
## Not run: ------------------------------------
# set_token("app_token")
## ---------------------------------------------

Run the code above in your browser using DataLab