rawr (version 0.1.0)

identify_domain: Identify the domain of the url

Description

Identify the domain of the url

Usage

identify_domain(urls)

Arguments

urls

Vector of urls

Value

A character vector of length 1 containing the website domain.

Examples

Run this code
# NOT RUN {
test_domains <- c("https://github.com/hadley/vis-eda/blob/master/travel.R",
"https://www.datacamp.com/community/tutorials/sentiment-analysis-R",
"https://www.tidytextmining.com/sentiment.html",
"https://www.kaggle.com/vrtjso/mercari-eda-more-info-than-you-can-imagine")

identify_domain(test_domains)



# }

Run the code above in your browser using DataLab