platelet-app/platelet

Statistics view

Opened this issue · 0 comments

There needs to be a view that shows a table of statistics from a user set timeline.

There is already a component that connected to the old API in src/scenes/Statistics

It needs to be updated to work with the new API. This could be done either by making queries to DataStore or with a lambda function.

https://github.com/platelet-app/platelet-api/blob/master/app/api/statistics/statistics_utilities/statistics_functions.py

This is the old code that calculated statistics. It could be adapted to a lambda with connections to dyanmodb instead of sqlalchemy.