url_convert: Convert URLs (relative or absolute) to absolute URLs

Description Usage Arguments Examples

View source: R/core_functions.R

Description

Convert URLs (relative or absolute) to absolute URLs

Usage

1
url_convert(url, base = attr(url, "base"))

Arguments

url

string of URL

base

string of domain URL

Examples

1
2
3
aec_website <- "http://www.aec.gov.au/Electorates/gis/gis_datadownload.htm"
find_files(aec_website, "zip")
find_files("https://catalog.data.gov/dataset?metadata_type=geospatial&_metadata_type_limit=0&q=%22Congressional%20Districts%22", "zip")

AnthonyEbert/sawfish documentation built on Feb. 1, 2020, 12:52 a.m.