extract: Extracting code from REDCap Script File

extractR Documentation

Extracting code from REDCap Script File

Description

Extracting code from REDCap Script File

Usage

extract_code(rgx, txt)

extract_vector(str)

Arguments

rgx

A reguar expression

txt

A portion of text, supplied as a character vector

str

A character string containing the code

Value

A character vector with the extracted code

A vector from the evaluated code

Note

This is an internal function but is exported to enable use in the main RAAMP_GBV project.


BroVic/raampGBV documentation built on Oct. 7, 2022, 11:06 p.m.