You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
% 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)}
|
|
|
|
}
|