url_parse

0th

Percentile

Parse a url into its component pieces.

Parse a url into its component pieces.

Usage
url_parse(x)
Arguments
x

A character vector of urls.

Value

A dataframe with one row for each element of x and columns: scheme, server, port, user, path, query, fragment.

Aliases
  • url_parse
Examples
# NOT RUN {
url_parse("http://had.co.nz/")
url_parse("http://had.co.nz:1234/")
url_parse("http://had.co.nz:1234/?a=1&b=2")
url_parse("http://had.co.nz:1234/?a=1&b=2#def")
# }
Documentation reproduced from package xml2, version 1.2.0, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.