This is a little Python 3.3 command-line program to make an HTML income report given a list of CSV files of income items.
The first (header) row of each given CSV file will be ignored. Only the first three columns of each given CSV file will be processed (extra columns will be ignored), and these columns should contain the following elements (separated by commas) in the order listed.
- The date the income was received (yyyy-mm-dd)
- The amount of income received (without currency symbols such as '$')
- The number of hours worked for that income
Assumes one currency type is used throughout the files, such as New Zealand dollars.
Uses Pandas for data manipulation and a local copy of NVD3 for Javascript charts.
- Add doctest examples
- Doctest
The file report.html
contains an example of a report made from randomly generated data and can be viewed live via rawgithub.com here.
Pandas.
- Alex Raichev (2013-05-26)