get_url {tgver}R Documentation

Helper function to generate URLs

Description

The function can generate a URL based on a base URL and as many as TGVE API variables provided to the function.

Usage

get_url(base = "http://127.0.0.1:8000", ...)

Arguments

base

character URL defaults to 'http://127.0.0.1:8000'

...

any or all of the TGVE API variables to replace/add values to.

Value

character URL generated from 'base' and 'tgver::'

Examples

{
url = get_url(dark="false")
url == "http://127.0.0.1:8000?dark=false"
url
url = get_url()
url
}


[Package tgver version 0.3.0 Index]