osem_counts: Get count statistics of the openSenseMap Instance

View source: R/counts.R

osem_countsR Documentation

Get count statistics of the openSenseMap Instance

Description

Provides information on number of senseBoxes, measurements, and measurements per minute.

Usage

osem_counts(endpoint = osem_endpoint(), cache = NA)

Arguments

endpoint

The URL of the openSenseMap API

cache

Whether to cache the result, defaults to false. If a valid path to a directory is given, the response will be cached there. Subsequent identical requests will return the cached data instead.

Details

Note that the API caches these values for 5 minutes.

Value

A named list containing the counts

See Also

openSenseMap API documentation (web)


opensensmapr documentation built on March 31, 2023, 11:45 p.m.