find_keyword | R Documentation |
Find a keyword in all names and labels of a list of datasets.
find_keyword(keyword, data = edc_lookup(), ignore_case = TRUE)
keyword |
the keyword to search for. Can handle regular expressions (see examples). |
data |
the lookup dataframe where to search the keyword. Can be set using |
ignore_case |
should case differences be ignored in the match? Default to |
a tibble
## Not run:
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
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.