#Wrappers around grepl optimised for fixed-string pattern-matching and
#fast pattern-matching, respectively.
fixed_grep <- function(field, pattern){
grepl(x = field, pattern = pattern, fixed = TRUE, useBytes = TRUE)
}
fast_grep <- function(field, pattern){
grepl(x = field, pattern = pattern, useBytes = TRUE, perl = TRUE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.