url_compose: Recompose Parsed URLs

Description Usage Arguments See Also Examples

View source: R/RcppExports.R

Description

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.

Usage

1
url_compose(parsed_urls)

Arguments

parsed_urls

a data.frame sourced from url_parse

See Also

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

Examples

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

urltools documentation built on May 1, 2019, 6:49 p.m.