Browse Source

too many `e`s are not healthy

tags/v0.3.2
Norwin Roosen 1 year ago
parent
commit
185f668ca8
No account linked to committer's email address

+ 0
- 25
tools/monitor/README.md View File

@@ -1,25 +0,0 @@
1
-# osem-monitor
2
-
3
-Get the state of sensors and measurement counts for later analysis every 10 minutes.
4
-The dataframe will reside in `./data/.RData`.
5
-
6
-Further analysis can be done with the script `analyze.R`.
7
-
8
-## docker image
9
-```bash
10
-# build 
11
-docker build --tag osem-monitor .
12
-
13
-# run
14
-docker run -v $(pwd)/data:/script/data osem-monitor
15
-```
16
-
17
-## run manually
18
-
19
-```bash
20
-# install dependencies once
21
-Rscript -e 'install.packages(c("dplyr", "magrittr", "devtools"))'
22
-Rscript -e 'devtools::install_github("noerw/opensensmapR")'
23
-
24
-Rscript --save --restore osem-monitor.R
25
-```

tools/monitor/Dockerfile → tools/monitr/Dockerfile View File


+ 28
- 0
tools/monitr/README.md View File

@@ -0,0 +1,28 @@
1
+# osem-monitr
2
+
3
+Get the state of sensors and measurement counts for later analysis every 15 minutes.
4
+The dataframes will reside in `./data/.RData`.
5
+
6
+Further analysis can be done with the script `analyz.R`.
7
+
8
+## docker image
9
+```bash
10
+alias dockr='docker '
11
+
12
+# build 
13
+docker build --tag osem-monitr .
14
+
15
+# run
16
+docker run -v $(pwd)/data:/script/data osem-monitr
17
+```
18
+
19
+## run manually
20
+
21
+```bash
22
+# install dependencies once
23
+Rscript -e 'install.packages(c("dplyr", "magrittr", "devtools"))'
24
+Rscript -e 'devtools::install_github("noerw/opensensmapR")'
25
+
26
+Rscript --save --restore get-counts.R
27
+Rscript --save --restore get-boxes.R
28
+```

tools/monitor/analyze.R → tools/monitr/analyz.R View File


tools/monitor/crontab → tools/monitr/crontab View File


tools/monitor/get-boxes.R → tools/monitr/get-boxes.R View File


tools/monitor/get-counts.R → tools/monitr/get-counts.R View File


Loading…
Cancel
Save