Skip to content

Commit

Permalink
First commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
atom-box committed Sep 9, 2021
1 parent 8037ffd commit 1be9dec
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions helpers/quilt/jsonConverter.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
The best project is a tool that you actually need to use yourself.
uThe White Sox stats here only export as a CSV
https://www.baseball-reference.com/teams/CHW/2021.shtml
I want them as a Json. Hence the need for the following converter.
Evan Genest https://drupal.farm/
*/

// the JSON to build
let outfile = {};
// source of the CSV
let inpath = "";

const csvtojson = () => {
return "good news: this works";
}

// pseudocode
/*
Pass in a path as arg, open the path and store as a variable.
A miracle happens.
*/

0 comments on commit 1be9dec

Please sign in to comment.