Learn R Programming

neotoma2 (version 1.0.5)

newURL: Format API call to Neotoma from call arguments

Description

Take a set of arguments from the Neotoma2 package and produce the appropriate URL to the Neotoma v2.0 API. This is an internal function used by parseURL().

Usage

newURL(baseurl, args, ...)

Value

A properly formatted URL.

Arguments

baseurl

The base URL for the Neotoma API

args

The set of query arguments to be passed to the API

...

Any additional arguments to be passed to the function.