Learn R Programming

pxweb (version 0.5.3)

buildPath: Build a path from character elements

Description

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

Usage

buildPath(varname, topnodes = NULL, baseURL, ...)

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, depending on the web service.
...
Further arguments passed to base_url().