url_parse: Parses a URL string into its components.

View source: R/RcppExports.R

url_parseR 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")


urlparse documentation built on April 15, 2025, 1:16 a.m.