mirror of
https://github.com/sensebox/opensensmapr
synced 2025-06-06 15:36:14 +02:00
27 lines
848 B
R
27 lines
848 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/counts.R
|
|
\name{osem_counts}
|
|
\alias{osem_counts}
|
|
\title{Get count statistics of the openSenseMap Instance}
|
|
\usage{
|
|
osem_counts(endpoint = osem_endpoint(), cache = NA)
|
|
}
|
|
\arguments{
|
|
\item{endpoint}{The URL of the openSenseMap API}
|
|
|
|
\item{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.}
|
|
}
|
|
\value{
|
|
A named \code{list} containing the counts
|
|
}
|
|
\description{
|
|
Provides information on number of senseBoxes, measurements, and measurements per minute.
|
|
}
|
|
\details{
|
|
Note that the API caches these values for 5 minutes.
|
|
}
|
|
\seealso{
|
|
\href{https://docs.opensensemap.org/#api-Misc-getStatistics}{openSenseMap API documentation (web)}
|
|
}
|