powered by
Parse a url into its component pieces.
url_parse(x)
A character vector of urls.
A dataframe with one row for each element of x and columns: scheme, server, port, user, path, query, fragment.
x
# 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") # }
Run the code above in your browser using DataLab