espelhamento de https://github.com/sensebox/opensensmapr
Você não pode selecionar mais de 25 tópicos
Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
Norwin bdc72e94e1 | 6 anos atrás | |
---|---|---|
.. | ||
Dockerfile | 6 anos atrás | |
README.md | 6 anos atrás | |
analyz.R | 6 anos atrás | |
crontab | 6 anos atrás | |
get-boxes.R | 6 anos atrás | |
get-counts.R | 6 anos atrás |
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