generate_new_lookup: Generate Instrument Name-Prefix Lookup Table

View source: R/lookup.R

generate_new_lookupR Documentation

Generate Instrument Name-Prefix Lookup Table

Description

Must have API privileges and be connected to the Northwestern VPN. This will return a new version of the anrlab_instruments objects. Future maintainers should run this and update that object whenever changes are made to instruments or new instruments are added. This shouldn't happen frequently once a project is moved to production mode.

Usage

generate_new_lookup(redcap_uri, redcap_token, overwrite = FALSE)

Arguments

redcap_uri

Redcap user API URI

redcap_token

Redcap user API token

overwrite

Whether to overwrite the lookup table in the package already, defaults to FALSE

Value

A dataframe with all the instrument names and their prefixes


tsostarics/anrlab documentation built on Nov. 6, 2022, 3:54 a.m.