Learn R Programming

neotoma2 (version 1.0.5)

parseURL: parseURL

Description

An internal helper function used to connect to the Neotoma API in a standard manner, and to provide basic validation of any response.

Usage

parseURL(x, use = "neotoma", all_data = FALSE, ...)

Value

list with cleaned and parsed data from HTTP request

Arguments

x

The HTTP/S path for the particular API call.

use

Uses the Neotoma server by default ("neotoma"), but supports either the development API server ("dev") or a local server ("local").

all_data

If TRUE return all possible API calls

...

Any query parameters passed from the calling function.

Author

Socorro Dominguez s.dominguez@ht-data.com

Simon Goring goring@wisc.edu