url_parse {urlparse}R Documentation

Parses a URL string into its components.

Description

Parses a URL string into its components.

Usage

url_parse(url)

Arguments

url

The URL string to parse.

Value

A list containing the components of the URL: scheme, user, password, host, path, raw_path, query, raw_query, and fragment.

Examples

library(urlparse)
url_parse("https://host.com/path?query#fragment")


[Package urlparse version 0.2.1 Index]