Checks Urls are in right format for API request

Description

Checks Urls are in right format for API request

Usage

1
check.Url(url, checkProtocol = TRUE, ...)

Arguments

url

The URL to check for use in API request

checkProtocol

Check if URL starts with 'http'

...

Passed to URLencode()

Value

Modified url if successful, raises an error if not.