|
|
@@ -4,7 +4,7 @@ const stringify = require('csv-stringify');
|
|
|
|
|
|
/* Helper method to load the datasets from CSV and store it in server object */
|
|
|
module.exports.loadDatasets = async function(filePath) {
|
|
|
- console.log('Datasets structure loading.')
|
|
|
+ //console.log('Datasets structure loading.')
|
|
|
let datasets = undefined
|
|
|
|
|
|
return new Promise((resolve, reject) => {
|
|
|
@@ -28,7 +28,7 @@ module.exports.loadDatasets = async function(filePath) {
|
|
|
/* Load all the attractivness data from CSV into a server object.
|
|
|
The data don't need to be loaded for each request then. */
|
|
|
module.exports.loadRuralData = async function (filePath) {
|
|
|
- console.log('Reading rural data file processing started.')
|
|
|
+ //console.log('Reading rural data file processing started.')
|
|
|
let ruralData = []
|
|
|
let columns
|
|
|
|