support for quotes in csv

This commit is contained in:
gnomadic 2023-05-30 13:51:30 -04:00
parent 218a12beb8
commit 284193f6ea
3 changed files with 3829 additions and 18405 deletions

File diff suppressed because it is too large Load Diff

View File

@ -41,7 +41,11 @@ rows.shift();
const addresses = [];
console.log(rows);
rows.map((row) => {
const cosmos = row;
let cosmos = row;
if (cosmos.endsWith('"') && cosmos.startsWith('"')) {
cosmos = cosmos.substring(1, cosmos.length - 1);
}
const current = {};
// current["cosmos"] = cosmos;
targets.forEach((target) => {

File diff suppressed because it is too large Load Diff