Description:
The PDF Report Generator generates a report in the form of a PDF file related to data collected from baby diapers. The report contains multiple pie and bar charts along with descriptions. The content of the report is individualized for each user (a user is probably a parent or caregiver who logs in with an email address) or for all users if no user is specified.
Report Generation:
For each user/all users, a custom report is generated. This report includes:
Each chart is followed by a brief paragraph description.
Output:
The final output of the code is a PDF file named 'Baby_Diaper_Report_' followed by the user's name or identifier. If no user is specified, it defaults to "all".
Github Code: https://github.com/DIAPER-Project/pdf-report-generator
Sample Data: dashboard.diaper-project.com
Box spring 22 report: More descriptions on PDF Report Generator
Note:
In the gen_csv.py file, regarding the color_code dictionary, the colors currently listed are not exhaustive. It is necessary to manually add new RGB values for any new colors that may appear