See npm
scripts in package.json
npm run-script build
npm test
Use fd
and entr
to watch for changes in src/
or test/
.
Run tests when an existing file changes.
fd . src/ test/ | entr -c npm test
The test/fixtures directory contains flatfile examples of expected inputs, intermediates, and results.
good_data.csv
Good input datagood_df.csv
Processed input data into data frame (array of row objects)good_components.csv
Calculated componentsgood_measures.csv
Calculcated measuresgood_maptg.csv
Final long format for upload