url_parse
takes a vector of URLs and splits each one into its component
parts, as recognised by RfC 3986.url_parse(urls, normalise = TRUE)
parse_url
; that
implementation is entirely in R, uses regular expressions, and is not vectorised. It's
perfectly suitable for the intended purpose (decomposition in the context of automated
HTTP requests from R), but not for large-scale analysis.url_parse("https://en.wikipedia.org/wiki/Article")
Run the code above in your browser using DataLab