Created a page that pulls from the Postgres database to display the data collected. This includes the ability to display match and pit data but also includes a table that sums all the data up to quickly show who is that best in certain fields. Also added blue alliance support so that the team number for the match form can be automatically filled out.
Details
The data page consists of two routes. One route displays a table that sums all the data from the specified competition so that you can see who is the best in a certain category using median, average, and max. Another route is used to either display all the match data or pit data from a specific team in a competition. Blue alliance support has also been added which just fetches the data from the blue alliance API.
Testing
I submitted some match and pit forms and confirmed all the data was showing up correctly.
Next Steps
Once the super scout form is done the data from that form should also be integrated into the data pages.
Summary
Created a page that pulls from the Postgres database to display the data collected. This includes the ability to display match and pit data but also includes a table that sums all the data up to quickly show who is that best in certain fields. Also added blue alliance support so that the team number for the match form can be automatically filled out.
Details
The data page consists of two routes. One route displays a table that sums all the data from the specified competition so that you can see who is the best in a certain category using median, average, and max. Another route is used to either display all the match data or pit data from a specific team in a competition. Blue alliance support has also been added which just fetches the data from the blue alliance API.
Testing
I submitted some match and pit forms and confirmed all the data was showing up correctly.
Next Steps
Once the super scout form is done the data from that form should also be integrated into the data pages.