temploapiclient
is a lightweight REST client built on httpeasyrest
designed to consume the API made available by the TEMPLO project.
Live data is transmitted directly from the ocean every two minutes, either from a coastal network of receptors measuring
oceanographic variables or from fish equipped with small transmitters for detection.
Detections are generated by tags surgically implanted in fish, which emit signals as the these pass by any hydrophone in the deployed acoustic telemetry network. In addition to tracking detections, these tags measure physical variables such as depth, pressure, and temperature.
Currently, all clients sending data to the servers from the ocean are using the same MQTT THELMA gateway. As shown in
the figure below, the bottom branch of the CETMAR SETTING UP
section is actually connected to THELMA MQTT Broker
,
while the top branch is not being used.
The entity-relationship model of the underlying database over which the API has been built is shown below.
This R package can be installed through the devtools as follows:
devtools::install_github("https://github.com/d2gex/temploapiclient", dep=TRUE)