too many `e`s are not healthy
parent
a65cb9a280
commit
185f668ca8
@ -1,25 +0,0 @@
|
|||||||
# 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
|
|
||||||
```bash
|
|
||||||
# build
|
|
||||||
docker build --tag osem-monitor .
|
|
||||||
|
|
||||||
# run
|
|
||||||
docker run -v $(pwd)/data:/script/data osem-monitor
|
|
||||||
```
|
|
||||||
|
|
||||||
## run manually
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# install dependencies once
|
|
||||||
Rscript -e 'install.packages(c("dplyr", "magrittr", "devtools"))'
|
|
||||||
Rscript -e 'devtools::install_github("noerw/opensensmapR")'
|
|
||||||
|
|
||||||
Rscript --save --restore osem-monitor.R
|
|
||||||
```
|
|
@ -0,0 +1,28 @@
|
|||||||
|
# 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
|
||||||
|
```bash
|
||||||
|
alias dockr='docker '
|
||||||
|
|
||||||
|
# build
|
||||||
|
docker build --tag osem-monitr .
|
||||||
|
|
||||||
|
# run
|
||||||
|
docker run -v $(pwd)/data:/script/data osem-monitr
|
||||||
|
```
|
||||||
|
|
||||||
|
## run manually
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# install dependencies once
|
||||||
|
Rscript -e 'install.packages(c("dplyr", "magrittr", "devtools"))'
|
||||||
|
Rscript -e 'devtools::install_github("noerw/opensensmapR")'
|
||||||
|
|
||||||
|
Rscript --save --restore get-counts.R
|
||||||
|
Rscript --save --restore get-boxes.R
|
||||||
|
```
|
Loading…
Reference in New Issue