if (FALSE) {
path = system.file("extdata/Example_Export_SAS_XPORT_2022_08_25_15_16.zip",
package="EDCimport", mustWork=TRUE)
w = read_trialmaster(path, verbose=FALSE)
find_keyword("patient")
#with regex
find_keyword("patient$")
find_keyword("\\d")
find_keyword("(Trial|Form) Name")
find_keyword("\\(") #you need to escape special characters
}
Run the code above in your browser using DataLab