url_compose function

Recompose Parsed URLs

Recompose Parsed URLs

Sometimes you want to take a vector of URLs, parse them, perform some operations and then rebuild them. url_compose takes a data.frame produced by url_parse and rebuilds it into a vector of full URLs (or: URLs as full as the vector initially thrown into url_parse).

This is currently a beta feature; please do report bugs if you find them.

url_compose(parsed_urls)

Arguments

  • parsed_urls: a data.frame sourced from url_parse

Examples

#Parse a URL and compose it url <- "http://en.wikipedia.org" url_compose(url_parse(url))

See Also

scheme and other accessors, which you may want to run URLs through before composing them to modify individual values.

  • Maintainer: Os Keyes
  • License: MIT + file LICENSE
  • Last published: 2019-04-14