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/jGBV documentation built on Oct. 9, 2022, 6:38 a.m.