Horse Racing Forum - PaceAdvantage.Com - Horse Racing Message Board

Go Back   Horse Racing Forum - PaceAdvantage.Com - Horse Racing Message Board


View Single Post
Old 06-02-2020, 05:44 PM   #92
MJC922
Registered User
 
Join Date: Nov 2012
Posts: 1,576
Quote:
Originally Posted by classhandicapper View Post
I am able to break out sex, age, and statebred OK and use those field now. It's some of the conditions for ALW, OCL and other races that get crazy.

The data I am getting is generally displayed as the abbreviated class field in the DRF past performances. It's not very consistent. I have to parse out the purse, whether a horse was claimed, eligible to claimed, and other nonsense all to get what still turns out to be loads of conditions from track to track some of which do not included important info in that abbreviated field.
So if I'm understanding correctly the files you're importing are more like actual running lines than what's to be found in the traditional result chart. That could be handy if you have everything you want in it but it sounds like it's lacking for the conditions.

I had to do an incredible amount of work to write those functions that can take a condition string and give you the type of abbreviation you see in the PPs, that was part of the great speed figure project I was working on before I shifted gears altogether and went away from time. The code in my modules is really messy, there are literally functions to generate wind variants and what not mixed in with things like the condition parser functions. That's why I want to avoid working on code, if I don't touch it for years and then go back to it it's a mystery to me how half of it works, it takes days of what little spare time I have staring at the code to figure out wth is even going on.

As part of the fix I made the other day I stumbled upon the fact that there's a worksheet in the excel chart processor that has RaceIDs in it. After 13 years there are 670 odd thousand race IDs in there, excel has a million row limit. I'm going to have to put in a fix for that. Was I dumb enough to just count the rows in the sheet and add 1 to generate each new RaceID or did I do the smarter thing and read what the max number was and add 1 to that. The difference is huge bc if it's the latter I can manually delete the oldest 5 years in two seconds and be good for a very long time again.

Looked at it for a half hour yesterday and couldn't figure out what I even did. Anyway something will have to be done about that issue within the next 5 years or that'll blow up on me.
__________________
North American Class Rankings

Last edited by MJC922; 06-02-2020 at 05:58 PM.
MJC922 is offline   Reply With Quote Reply
 
» Advertisement
» Current Polls
Which horse do you like most
Dornoch - 67.74%
42 Votes
Track Phantom - 32.26%
20 Votes
Total Votes: 62
This poll is closed.
Powered by vBadvanced CMPS v3.2.3

All times are GMT -4. The time now is 10:49 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 1999 - 2023 -- PaceAdvantage.Com -- All Rights Reserved
We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program
designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.