buildPath: Build a path from character elements

Description Usage Arguments

Description

This function takes a list of strings and builds a URL to the SCB web API in reverser order.

Usage

1
buildPath(varname, topnodes = NULL, baseUrl = NULL, ...)

Arguments

varname

A character string or a list of strings of the variable(s) in the web API. This can be a data node or a tree node.

topnodes

A string or a list of strings containing the top nodes in top-to-bottom order

baseUrl

The base URL to use. This is only useful if you want to use the function for constructing a URL to another web service or if SCB should suddenly change their base URL. If you want to pass arguments to baseURL(), use the ... argument instead.

...

Further arguments passed to baseURL().


LCHansson/sweSCB documentation built on May 8, 2019, 5:46 p.m.