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.
4501704e75 | 7 years ago | |
---|---|---|
.. | ||
Dockerfile | 7 years ago | |
README.md | 7 years ago | |
analyze.R | 7 years ago | |
crontab | 7 years ago | |
get-boxes.R | 7 years ago | |
get-counts.R | 7 years ago |
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