getSensorData: Get sensor data from a registered senseBox of openSenseMap

Description Usage Arguments Value Examples

Description

Converts a time series of a senseBox sensor to a SpatialPointsDataFrame

Usage

1
getSensorData(senseBoxId, sensorId, startDate, endDate)

Arguments

senseBoxId

a valid senseBox ID

sensorId

a sensor ID according to the senseBox ID

startDate

starting point for time interval as ISO8601

endDate

end point for time interval as ISO8601

Value

Time series of a sensor as SpatialPointsDataFrame

Examples

1
2
3
4
5
senseBox <- "5776734b230b2b1000880c0c"
sensor   <-"5776734b230b2b1000880c0f"
start    <- "2016-11-22"
end      <- "2016-11-23"
getSensorData(senseBox, sensor, start, end)

sensebox/oSeM-R-package documentation built on May 29, 2019, 6:54 p.m.