redcap_set_key: Function to set a key for accessing the Return to School data...

View source: R/keys.R

redcap_set_keyR Documentation

Function to set a key for accessing the Return to School data from REDCap

Description

This function adds your key to your .Renviron so it is accessible by redcap_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

redcap_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

library(rts)
## Not run: 
redcap_set_key("abcdefghikjlmnop")

## End(Not run)

datalorax/rts documentation built on March 19, 2022, 10:53 a.m.