1
0
Fork 0
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
opensensmapR/tools/monitr
Norwin bdc72e94e1 change references to sensebox org vor 6 Jahren
..
Dockerfile change references to sensebox org vor 6 Jahren
README.md change references to sensebox org vor 6 Jahren
analyz.R too many `e`s are not healthy vor 6 Jahren
crontab too many `e`s are not healthy vor 6 Jahren
get-boxes.R too many `e`s are not healthy vor 6 Jahren
get-counts.R too many `e`s are not healthy vor 6 Jahren

README.md

osem-monitr

Get the state of sensors and measurement counts for later analysis every 15 minutes. The dataframes will reside in ./data/.RData.

Further analysis can be done with the script analyz.R.

docker image

alias dockr='docker '

# build 
docker build --tag osem-monitr .

# run
docker run -v $(pwd)/data:/script/data osem-monitr

run manually

# install dependencies once
Rscript -e 'install.packages(c("dplyr", "magrittr", "devtools"))'
Rscript -e 'devtools::install_github("sensebox/opensensmapR")'

Rscript --save --restore get-counts.R
Rscript --save --restore get-boxes.R