Generates PDF reports from user statistics of the SayBanana children's speech therapy app.
To create a user report, input the path to "user_productions.txt" and specify the output PDF file name.
from SayBanana_stats import generate_user_report
file_path = "test/user_productions.txt"
output_path = "output/test.pdf"
generate_user_report(file_path, output_path)
The "user_productions.txt" should follow this format:
[email protected],Word,Score,Timestamp
For example
[email protected],Fishing,0,22-03-2024 10:51:07
[email protected],Fishing,1,22-03-2024 10:51:31
...