Svoboda | Graniru | BBC Russia | Golosameriki | Facebook
Skip to content

sample node script for converting json data structure to flat csv

License

Notifications You must be signed in to change notification settings

alansmithy/json2csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json2csv

This sample node script takes a json data feed with complex hierarchy and writes a flat csv output file. This sample uses the FT election results json feed.

install

Open folder in Terminal and type npm install to install dependencies (d3, for its csv and json modules)

usage

open folder in Terminal, type node main.js to run the script, it will return an output .csv file in the same directory.

About

sample node script for converting json data structure to flat csv

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published