Skip to contents

Find links

Usage

pipe_find_links(
  graf,
  field = NULL,
  value,
  operator = "contains",
  remove_isolated = T,
  highlight_only = F
)

Arguments

field

Field (column, variable) to search

value

Value to search for

operator

c('contains','notcontains','=','notequals','greater','less','starts','ends'). How to search.

Value

A mapfile containing only matching links. Factors are not removed, so this function may return maps with isolated factors, i.e. factors with no links.