Quote:
Originally Posted by Bongle
Look at the FIRST-provided results for BAE. They don't exist for the qualification matches, and so OPRNet cannot run. Some people in this thread have written parsers that work with TBA results, which are posted. Check the whole thread and see if there is an app posted that can read TBA results.
|
Part of the reason I extended my program to pull from multiple sources was to eventually put all of the data into a standardized, formatted .csv file that any program or Excel sheet could read. That way, we could pass around a master file with our programs for those who do not have the internet immediately available (or are blocked by a firewall for whatever reasons).
The format for a line will be something like
REG_CODE,MATCH_NUM,RED_1,RED_2,RED_3,BLUE_1,BLUE_2 ,BLUE_3,R_SCORE,B_SCORE
Where REG_CODE is the usfirst.org regional code. There will be 1 line for every match at every regional (roughly 48*76 = 3648 lines). Once the matches are verified I'm also going to put in a new 'feature' that writes the parsed lines directly into the Java source code for the next time the code is compiled (which is often for me since I use a similar program to do my Fantasy FIRST picks). The order it will check for valid data is source code --> local parsed file --> local html file --> usfirst.org --> tba.net ... and it will go until it finds valid data. Buckeye data still isn't up though, so I wonder what we'll have to do to get those scores
Then, eventually I'll put a scouting layer on top of that so you can input data into it at a regional. Then, I'll make a simple version of this input, so someone can input it via PDA, iPhone, or whatever other touchpad technology comes available. This part won't happen publicly till the offseason though.
I've been away from it for a few days since I was at the FL regional, but now it's back to work to have it done in time for Atlanta.
-- edit -- Ooh and a w00t to Greg Marra and crew for simplifying the tba.net urls for each regional and year!