Total Number of Competing Teams by Year (excluding 2022)

This data comes from The Blue Alliance and was based on the following metric need:

How many teams compete each year?

The problem: TBA sorts everything by year, then event and there isn’t a basic Total for number of teams each year. So you have to

  1. Get all of the event codes for each year and save them to a list.
  2. From that years list poll TBA for all of the events and team numbers at the event. Add them all to a list if they weren’t counted for that year already
  3. Add 1 to the yearly total count
  4. Move onto the next year

2022 doesn’t work for some reason but the other years seem correct. I manually checked 1992-1996 to make sure it was accurate and working and debugged most of this throughout the day

A member of FRC 1050 was also helping me as I played around here. This was my first time using the TBA API so I thought this came out really well.

5 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.