-
Notifications
You must be signed in to change notification settings - Fork 3
Data Collection & Processing
When you submit data in Saber-Metrics, it will be stored in a serializable Kotlin data object which will be converted into the JSON format and saved to the following directory on your Android device as a *.scout
file:
/storage/emulated/0/Android/data/com.example.frc_scouting/files
The name of the file written will follow the pattern of teamNumber-matchNumber.scout
, where teamNumber
and matchNumber
are the team and match number in the form submission. Using this naming schema, we can guarantee that there will be no duplicate data entries logged, and that corrected entries will automatically overwrite an existing *.scout file.
The SQL Builder is responsible for parsing all *.scout
files it can find within the current working directory and building a list of queries. Once the SQL Builder has finished building it's queries, it will write them to a file named sqlBuilderOutput.sql
which will automatically be ran against the database. You can run the SQL Builder on Windows by running this Windows Command File.