fix (hopefully) topo conversion script #203
9
package.json
Normal file
9
package.json
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"name": "data-to-topo",
|
||||
"version": "1.0.0",
|
||||
"type": "module",
|
||||
"main": "process.js",
|
||||
"dependencies": {
|
||||
"csv-parser": "^3.2.0"
|
||||
}
|
||||
}
|
|
@ -29,7 +29,7 @@ fs.createReadStream(`${data_directory}/library_services_information.csv`)
|
|||
try {
|
||||
fs.writeFileSync(`${data_directory}/boundaries.topo.json`, JSON.stringify(data))
|
||||
} catch (err) {
|
||||
console.err('ERROR writing topo file')
|
||||
console.error('ERROR writing topo file')
|
||||
}
|
||||
console.log('topo updated')
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue