earthrise-media / vacs-map

Exploring VACS project data
1 stars 0 forks source link

Update yields data #122

Closed mwbernard closed 9 months ago

mwbernard commented 9 months ago

Closes #121

I went ahead and wrote a quick script to process the yields data file that @cameronkruse is producing into the format we use in the app. This should make future updates a breeze - steps are as follows:

  1. put unprocessed .csv into public/data-raw
  2. run node scripts/format-yields-data.js (there are source and target filenames in this script if that ever changes)
  3. run node scripts/generate-minimaps.js (update the minimap svg images with new data)