Skip to contents

Retrieves data associated with a sensor from the Telraam API. The data is retrieved for a specified time period between date1 and date2 (inclusive).

Usage

retrieve_sensor(id_sensor, date1, date2, key = get_telraam_token())

Arguments

id_sensor

Numeric. ID of the sensor

date1

Date. Start date "aaaa-mm-jj", must be of the date type.

date2

Date. End date "aaaa-mm-jj", must be of the date type.

key

the api key (set by the set_telraam_token function)