Skip to content

Commit 0460bd9

Browse files
committed
2025 spring clubs
1 parent 76b7aa4 commit 0460bd9

File tree

3 files changed

+254
-738
lines changed

3 files changed

+254
-738
lines changed

scripts/genClubs.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {info, prompt, warn} from './util/logging';
1111
const prev = JSON.parse(readFileSync('./output/clubs.json').toString());
1212

1313
// Fetch TSV source, parse
14-
const raw = await (await fetch('https://docs.google.com/spreadsheets/u/1/d/e/2PACX-1vQ-UXugiZ8GznB367cO8JptTO9BLm5OE4D3WO8oZvYk_365lY25Q6eAFNSEIC5DGXGWOXwK_wauoTFT/pub?output=tsv')).text();
14+
const raw = await (await fetch('https://docs.google.com/spreadsheets/u/1/d/e/2PACX-1vTo3diS1ZhUR3vC8Hb9kImDpqAT6JcfFCSQX8-xIXMmhnHSQg1GY1d-0ADe_KoIAB6_x1ur29xTk8zb/pub?output=tsv')).text();
1515
const data = raw.split('\n').map(row => row.split('\t'));
1616

1717
const newID = () => 10000 + Math.floor(Math.random() * 90000) + '';
@@ -20,7 +20,7 @@ import {info, prompt, warn} from './util/logging';
2020
// Remove the first (header) row
2121
const clubs: Club[] = data.slice(1)
2222
.map(club => {
23-
const [retOrNew, name, type, tier, desc, day, freq, time, room, prez, advisor, email, coadvisor, coemail] = club.map(x => x.trim());
23+
const [type, retOrNew, name, tier, desc, day, freq, time, room, prez, advisor, email, coadvisor, coemail] = club.map(x => x.trim());
2424
const newClub = retOrNew.toLowerCase().includes('new');
2525

2626
const extras = coadvisor.length > 0 ? {

0 commit comments

Comments
 (0)