parseURL: parseURL

View source: R/parseURL.R

parseURLR Documentation

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, ...)

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.

Value

list with cleaned and parsed data from HTTP request

Author(s)

Socorro Dominguez sedv8808@gmail.com

Simon Goring goring@wisc.edu


neotoma2 documentation built on July 9, 2023, 7:37 p.m.