Open nrabinowitz opened 3 years ago
This would need a symmetric option with parsing such that an unquoted empty string is mapped to null (or undefined?) whereas a quoted empty string is mapped to the empty string. Specifically in these two places:
https://github.com/d3/d3-dsv/blob/344677983ac44e7bbf0e2527ad7f0223d66a2f38/src/dsv.js#L105
https://github.com/d3/d3-dsv/blob/344677983ac44e7bbf0e2527ad7f0223d66a2f38/src/dsv.js#L109
Right now there's no way to distinguish between empty strings and missing data in formatted output.
I'd like this to return:
But instead I get: