Skip to content

Team5924/Data-Analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data-Analysis

Custom Python solution for analyzing scouting data.

Table of Contents

  1. Getting Started
  2. How It Works
  3. Python Packages

Getting Started

  • Branch off from dev
  • Name the branch [YYYY]-[name of season]-analysis
    • e.g. 2022-Rapid-React-Analysis


Return to top

How It Works

This application utilizes Jupyter Notebooks and custom made Python packages to process data from scouting for analysis. Python packages are used to organize and define custom functions for data processing. i.e. filter.team(), filter.match(), etc... These functions are designed to be reproducible, republicable, and reusable. While the Python is used for defining functions, the Jupyter Notebook is where these functions will be called/used.


Return to top

Python Packages

Creating a directory to store Python packages

While a directory for storing Python packages already exists in this repo, here is how you can make them on your own from scratch

  • Create a new directory (name does not matter)
  • Create a new file __init__.py and store it in the directory
    • this informs Python that the directory contains packages
Naming Convention

TL;DR: [verb].[noun]()

process.py contains the function entry(). When called, it's written as process.entry(). This method of naming makes it clear what is being performed on and how.

Another example: filter.py contains the function team(). When called, it's filter.team().

Using a Python package
# Importing the package from local directory
from [package_directory] import [package_name]

...

# Calling the function
[package_name].[method_name]()

Return to top

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published