edit_URL: Edit URLs

Description Usage Arguments Value Author(s) Examples

View source: R/edit_URL.R

Description

edit_URL replaces URLs.

Usage

1
edit_URL(text, replacement = "<URL>")

Arguments

text

The text variable.

replacement

Character string replacing the URLs.

Value

Returns a character vector with URLs replaced.

Author(s)

Achilleas Passias

Examples

1
2
3
4
text <- c("https://example.fr", "ftp://example.org", "duckduckgo.com", "www.wikipedia.org")

edit_URL(text)
edit_URL(text, replacement = "")

achilleas-251/txtprocess documentation built on March 30, 2020, 12:43 a.m.