#' Find variables
#'
#' Search for a pattern in the OCSLS table column names
#' @param x A pattern to search (grep) for
#' @param tables A character vector of table names to search
#'
#' @export
find_var <- function(x, tables=c("students","dates","romances","hookups")) {
Map(function(table) {
grep(x, names(get(table)), value=TRUE)
}, tables)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.