Scout Ops Extractor User Guide
This guide provides detailed instructions on using the Scout Ops Extractor application for retrieving, processing, and analyzing FRC competition data.
Application Interface
The Scout Ops Extractor has a tabbed interface with the following main sections:
- Blue Alliance Data - Collect and convert data from The Blue Alliance API
- Match Statistics - Generate match predictions and team insights
Getting Started
Obtaining API Keys
Before using Scout Ops Extractor, you'll need to obtain an API key from The Blue Alliance:
- Visit The Blue Alliance (opens in a new tab)
- Create an account or log in to your existing account
- Navigate to the "Account" section
- Request an API key by providing a description of your usage
- Copy the provided API key for use in Scout Ops Extractor
Keep your API key secure and never share it publicly. The Blue Alliance has rate limits that apply to each API key.
Understanding Event Keys
Throughout Scout Ops Extractor, you'll need to use event keys to identify specific FRC events:
- Event keys follow the format:
[year][event_code]
- Example:
2025miket
for the 2025 Kettering University District event
You can find event codes on The Blue Alliance website by looking at the URL for an event:
- For example,
https://www.thebluealliance.com/event/2025miket
has the event key2025miket
Using The Blue Alliance Data Tab
The Blue Alliance Data tab allows you to retrieve and convert data from The Blue Alliance API.
Fetching Event Data
- Enter your TBA API Key in the designated field
- Enter the Event Key for the competition you're interested in
- Specify an output directory or use the default
- Select whether to update existing files or create a new folder
- Click "Fetch and Convert TBA Data"
By default, data will be saved in a new timestamped folder. Enable "Update existing files" to overwrite previous data.
Understanding Output Files
After fetching data, several CSV files will be generated:
- event_info.csv - Basic information about the event
- teams.csv - List of teams participating in the event
- matches.csv - Complete match schedule with detailed scoring information
- rankings.csv - Current team rankings at the event
- alliances.csv - Alliance selections for playoff matches
These files provide a comprehensive snapshot of the event and can be used for further analysis in spreadsheet applications.
Using the Match Statistics Tab
The Match Statistics tab provides advanced features for match predictions and team insights.
Generating Match Predictions
To generate predictions for a specific match:
- Enter your TBA API Key
- Enter the Event Key
- Specify the Match Number
- Select the Match Type (qm, qf, sf, f) from the dropdown
- qm = Qualification Match
- qf = Quarter Final
- sf = Semi Final
- f = Final
- Choose an output directory
- Click "Fetch Match Data"
The application will retrieve match data from both The Blue Alliance and Statbotics, combining them to create a detailed prediction.
The match prediction combines:
- Team compositions for each alliance
- Historical performance metrics (OPR/EPA)
- Expected scoring breakdowns
- Win probability for each alliance
This information is presented in both JSON and CSV formats for flexibility.
Generating Team Insights
To generate comprehensive statistics for all teams at an event:
- Enter your TBA API Key
- Enter the Event Key
- Choose an output directory
- Click "Generate Team Insights"
This process will:
- Fetch team data from The Blue Alliance
- Retrieve statistical metrics from Statbotics
- Combine and process the data
- Generate a CSV file with key performance indicators
Team insights generation may take some time for events with many teams, as the application makes individual API requests for each team's data.
Understanding Team Insights Data
The generated "All_Team_Insights.csv" file contains valuable information about each team:
Column | Description |
---|---|
team | Team number |
nickname | Team name |
city | Team's city |
state | Team's state/province |
country | Team's country |
opr | Offensive Power Rating from TBA |
epa_current | Current EPA score from Statbotics |
epa_recent | Recent EPA trend from Statbotics |
epa_mean | Mean EPA over the season |
epa_max | Maximum EPA achieved |
wins | Win count |
losses | Loss count |
ties | Tie count |
win_rate | Win percentage |
This data is sorted by EPA to help identify top-performing teams quickly.
Advanced Usage
Working with Data Files
After generating data, you can:
- Import CSV files into spreadsheet applications like Excel or Google Sheets
- Create pivot tables to analyze team performances
- Import into data visualization tools like Tableau
- Use custom scripts to further process the data
Automated Workflows
For competition use, consider these workflows:
-
Pre-Event Preparation:
- Run "Fetch and Convert TBA Data" to get the team list and historical data
- Generate "Team Insights" to analyze expected performance
-
During Qualification Matches:
- Run "Fetch Match Data" before important matches to get predictions
- Update event data periodically to track ranking changes
-
Alliance Selection:
- Update "Team Insights" to get the latest performance metrics
- Use the data to inform alliance selection strategy
Saving and Loading Settings
Scout Ops Extractor remembers your settings between sessions, including:
- API keys
- Event keys
- Output directories
This makes it easy to quickly generate updated reports throughout a competition without re-entering all the configuration details.
Exporting Data For Other Scout Ops Tools
The data generated by Scout Ops Extractor is designed to integrate with other components of the Scout Ops Suite:
- Team and match data can be imported into PyIntel Scoutz for advanced analytics
- Alliance prediction data can be used by drive teams for match strategy
- Performance metrics can validate and supplement data collected through Scout-Ops-Android