mirror of
https://github.com/sensebox/opensensmapr
synced 2025-07-01 01:30:21 +02:00
|
||
---|---|---|
.. | ||
analyze.R | ||
crontab | ||
Dockerfile | ||
get-boxes.R | ||
get-counts.R | ||
README.md |
osem-monitor
Get the state of sensors and measurement counts for later analysis every 10 minutes.
The dataframe will reside in ./data/.RData
.
Further analysis can be done with the script analyze.R
.
docker image
# build
docker build --tag osem-monitor .
# run
docker run -v $(pwd)/data:/script/data osem-monitor
run manually
# install dependencies once
Rscript -e 'install.packages(c("dplyr", "magrittr", "devtools"))'
Rscript -e 'devtools::install_github("noerw/opensensmapR")'
Rscript --save --restore osem-monitor.R