Spreadsheet import #3
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kevinsivic/finance-dashboard#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
One-off script that imports the "Annual budget - Balance Sheet" CSV as Balances (Source: "Balance sheet").
data/directory. No account names or balances are committed; tests use a made-up fixture.#REF!cells.Code is done (parser, mapping draft, importer, CLI). What's left needs a human.
Already done locally: your sheet is copied to
data/balance-sheet.csvand a draft is indata/mapping.json(both git-ignored): 34 accounts, 30 items to review.To finish:
data/mapping.json. Fix any wrong guess, then delete eachreviewentry you've checked. Most are "Holder: guessed Joint". Also check:YYYY-MM-01; change any you like),make db-up, thencd server && DATABASE_URL=postgres://finance:finance@localhost:55432/finance npm run balance-sheet import ../data/balance-sheet.csv ../data/mapping.json. The import refuses to run while any review item remains.Verified: importing a flag-cleared copy into a scratch database reproduced the sheet's Net Worth to within $1–3 rounding at every snapshot except 03-2023, which is the Chase (JEM) cell above. A re-run creates no duplicates.