jmacura 5 år sedan
förälder
incheckning
473860dbcc
1 ändrade filer med 6 tillägg och 0 borttagningar
  1. 6 0
      index.js

+ 6 - 0
index.js

@@ -126,6 +126,9 @@ app.post('/scores', (req, res, next) => {
     }
 });
 
+/*
+    Only testing purposes
+*/
 app.get('/runR', (req, res, next) => {
     //console.log(console);
     console.log('calling R...')
@@ -145,6 +148,9 @@ app.get('/runR', (req, res, next) => {
     );
 });
 
+/*
+    Calls R script, loads the resulting CSV file and returns it
+*/
 app.get('/clusters', (req, res, next) => {
     //console.log(console);
     console.log('calling R...')