raustats_check_url_available: Check specified ABS/RBA URL available

Description Usage Arguments Value Note

View source: R/httr-utilities.R

Description

Function to ensure URL calls fail gracefully with an informative message if the resource is not available (and not give a check warning nor error).

Usage

1

Arguments

url

The base URL to check.

Value

TRUE if the API is available, otherwise stop() is called.

Note

Based on code in opensensmapR (https://github.com/sensebox/opensensmapR/blob/f69cf62b2771d5b6ed605c04b7ddd618f5a272c2/R/api.Rapi.R).


raustats documentation built on Jan. 11, 2020, 9:31 a.m.