elex icon indicating copy to clipboard operation
elex copied to clipboard

Document and/or resolve JSON vs. CSV output

Open stucka opened this issue 6 years ago • 1 comments

Some fields appear in JSON or CSV output but not the other.

Some data is formatted differently, such as "percents" going from 0 to 1 vs. 0 to 100.

I've got partial documentation started here: https://github.com/PalmBeachPost/election-results-parser/commits/master/fielddescriptions.xlsx

It's easy enough to make that a CSV and clean that up and include in both projects, if that's your desire.

If you're going to change the output of one to match the other, you'd break stuff depending on it -- which can be fixed and hopefully would be detected in pre-election testing.

stucka avatar Apr 19 '19 15:04 stucka

On a related note, if'n y'all wanted to take that documentation over, I'd love you to be the canonical resource I'd link to from election-results-parser. =)

stucka avatar Apr 19 '19 15:04 stucka