Chris Smith 6ce20c17a4 Ignore temporary files | 13 vuotta sitten | |
---|---|---|
externals | 13 vuotta sitten | |
res | 13 vuotta sitten | |
.gitignore | 13 vuotta sitten | |
.gitmodules | 13 vuotta sitten | |
README.md | 13 vuotta sitten | |
analyser.js | 13 vuotta sitten | |
data.php | 13 vuotta sitten | |
index.html | 13 vuotta sitten |
This project consists of a PHP backend which can parse CSV files containing bank account transaction information, and a JavaScript front-end which can analyse and display stats about the parsed data.
The backend expects a ‘Statements’ directory containing CSV files with the following fields:
The JS frontend uses a map containing one entry for each month’s worth of transactions. At present it expects this map to be assigned to a variable called ‘data’. Each month consists of an array of transactions, which are themselves objects containing the following properties:
{"date":"2009-01-05 00:00:00","timezone_type":3,"timezone":"UTC"}
If the category has the special value (Ignored)
, it is excluded from
certain calculates and graphs and showed as greyed out in tables.