The Red Alliance data analysis package
Go to file
2021-04-01 13:10:14 -05:00
config.json removed keys 2021-04-01 09:14:27 +00:00
CONTRIBUTING.md Create CONTRIBUTING.md 2021-04-01 13:10:14 -05:00
data.py Merge service-dev changes with master (#24) 2020-05-20 08:52:38 -05:00
design.kv feat: gui layout + basic func 2021-04-01 02:21:01 -05:00
main.py feat: gui layout + basic func 2021-04-01 02:21:01 -05:00
README.md Create README.md 2021-04-01 13:09:18 -05:00
requirements.txt added Kivy to requirements.txt 2020-10-15 23:55:41 +00:00
superscript.py feat: gui layout + basic func 2021-04-01 02:21:01 -05:00
test_superscript.py finally fixed issues 2020-05-18 16:12:22 -05:00

tra-data-analysis

To facilitate data analysis of collected scouting data in a user firendly tool, we created the data-analysis application. At its core it uses the tra-analysis package to conduct any number of user selected tests on data collected from the TRA scouting app. It uploads these tests back to MongoDB where it can be viewed from the app at any time.

The data-analysis application also uses the TRA API to interface with MongoDB and uses the TBA API to collect additional data (match win/loss).

The application can be configured with a configuration tool or by editing the config.json directly.

Prerequisites


Before installing and using data-analysis, make sure that you have installed the folowing prerequisites:

  • A common operating system like Windows or (most) distributions of Linux. BSD may work but has not been tested nor is it reccomended.
  • Python version 3.6 or higher
  • Pip (installation instructions here)

Installing Requirements


Once navigated to the data-analysis folder run pip install -r requirements.txt to install all of the required python libraries.

Scripts


The data-analysis application is a collection of various scripts and one config file. For users, only the main application superscript.py and the config file config.json are important.

To run the data-analysis application, navigate to the data-analysis folder once all requirements have been installed and run python superscript.py. If you encounter the error:

pymongo.errors.ConfigurationError: Empty host (or extra comma in host list).

Don't worry, you may have just not configured the application correctly, but would otherwise work. Refer to the documentation to learn how to configure data-analysis.

Contributing

Read our included contributing guidelines (CONTRIBUTING.md) for more information and feel free to reach out to any current maintainer for more information.

Build Statuses

Coming soon!