set_key: Function to set an access key for the course data

Description Usage Arguments Examples

View source: R/keys.R

Description

This function adds your key to your .Renviron so it is accessible by get_key(). You should only need to run this function once. Make sure to restart your local R session after running this function for the changes to take effect.

Usage

1
set_key(key, overwrite = FALSE)

Arguments

key

A string of your specific key

overwrite

Defaults to FALSE. If there is a key already in the .Renviron, should it be overwritten?

Examples

1
2
3
4
5
library(edld652)
## Not run: 
redcap_set_key("abcdefghikjlmnop")

## End(Not run)

datalorax/edld652 documentation built on Jan. 28, 2022, 12:17 p.m.