powered by
Builds a URL string from its components.
url_build(url_components)
A URL string constructed from the provided components
A list containing the components of the URL: scheme, host, port, path, query, and fragment.
scheme A character string for the new scheme (e.g., "http" or "https") or NULL to keep it unchanged.
NULL
host A character string for the new host or NULL to keep it unchanged.
port A character string for the new port or NULL to keep it unchanged.
path A character string for the new path or NULL to keep it unchanged.
query A list or character of new query parameters or NULL to keep it unchanged.
fragment A character string for the new fragment or NULL to keep it unchanged.
library(urlparse) url_build(list( scheme = "https", user = "", password = "", host = "host.com", port = 8000, path = "/path", query = "query", fragment = "fragment" ))
Run the code above in your browser using DataLab