osem_ensure_api_available: Check if the given openSenseMap API endpoint is available

View source: R/api.R

osem_ensure_api_availableR Documentation

Check if the given openSenseMap API endpoint is available

Description

Check if the given openSenseMap API endpoint is available

Usage

osem_ensure_api_available(endpoint = osem_endpoint())

Arguments

endpoint

The API base URL to check, defaulting to osem_endpoint

Value

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


sensebox/opensensmapR documentation built on March 12, 2023, 8:09 a.m.