Skip to contents

Check if dataset title matches a pattern (case-insensitive regex).

Usage

title_contains(title, pattern)

Arguments

title

Character vector of titles

pattern

Regex pattern to search for

Value

Logical vector, TRUE where pattern matches

Examples

if (FALSE) { # \dontrun{
# Find kinase-related datasets
list_datasets(full = TRUE) |>
  filter(title_contains(title, "kinase"))
} # }