View source: R/limpiar_link_click.R
limpiar_link_click | R Documentation |
Will allow you to click the hyperlink to load a URL, e.g. for selecting an image.
limpiar_link_click(df, url_var)
df |
Data Frame or Tibble Object |
url_var |
URL Column |
Make sure that DataTable is rendered with the argument 'escape = FALSE' or column will be all text.
The function now checks if your url_var was a clickable link, and if it is then it won't add any new formatting.
data frame with URL column edited to be clickable
df <- LimpiaR::limpiar_examples[1, ]
df["mention_url"]
df <- df %>% limpiar_link_click(mention_url)
df["mention_url"]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.