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

Go Back   Horse Racing Forum - PaceAdvantage.Com - Horse Racing Message Board > Thoroughbred Horse Racing Discussion > General Handicapping Discussion


Reply
 
Thread Tools Rate Thread
Old 04-17-2024, 11:40 PM   #61
equusvates
Registered User
 
Join Date: May 2021
Posts: 51
Quote:
Originally Posted by JJMartin View Post
So this data is not in .csv format?
No.

The data is contained in multiple XML, extended markup language, files. XML is just a way of formatting data for machine interpretation. Below is a partial snapshot from one of the races. Many text editors can read and structure the data on a screen for human readability. For quick scanning and verifying my machine reading of the file, I use Notepad++ which is a free text editor. As shown in the snapshot, each attribute, node, is enclosed by a beginning and ending tag.


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<EntryRaceCard xsi:noNamespaceSchemaLocation="http://ifd.equibase.com/schema/simulcast.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Race>
<RaceNumber>1</RaceNumber>
<DayEvening>D</DayEvening>
<BreedType>
<Value>TB</Value>
<Description/>
</BreedType>
<Course>
<CourseType>
<Value>D</Value>
<Description>Dirt</Description>
</CourseType>
<Surface>
<Value>D</Value>
<Description/>
</Surface>
</Course>
<Distance>
<DistanceId>600</DistanceId>
<DistanceUnit>
<Value>F</Value>
<Description/>
</DistanceUnit>
<AboutDistanceIndicator> </AboutDistanceIndicator>
<PublishedValue>6F</PublishedValue>
</Distance>
<RaceType>
<RaceType>MCL</RaceType>
<Description>MAIDEN CLAIMING</Description>
</RaceType>
equusvates is offline   Reply With Quote Reply
Old 04-17-2024, 11:44 PM   #62
JJMartin
Registered User
 
JJMartin's Avatar
 
Join Date: Jun 2011
Posts: 588
I see, a comma delimited format would have caught my interest. Too bad. Thanks for the description.
JJMartin is offline   Reply With Quote Reply
Old 04-18-2024, 07:44 AM   #63
Saratoga
Registered User
 
Join Date: Mar 2012
Posts: 517
I have a dumb question .....

Where would you get files to handicap future races?
Saratoga is online now   Reply With Quote Reply
Old 04-18-2024, 11:56 AM   #64
MJC922
Registered User
 
Join Date: Nov 2012
Posts: 1,551
Quote:
Originally Posted by Saratoga View Post
I have a dumb question .....

Where would you get files to handicap future races?
With Ellis starting the thread I was assuming these are Trackmaster files but I could be wrong, he can clarify.
__________________
North American Class Rankings

Last edited by MJC922; 04-18-2024 at 11:57 AM.
MJC922 is offline   Reply With Quote Reply
Old 04-18-2024, 12:06 PM   #65
Saratoga
Registered User
 
Join Date: Mar 2012
Posts: 517
Quote:
Originally Posted by MJC922 View Post
With Ellis starting the thread I was assuming these are Trackmaster files but I could be wrong, he can clarify.
Thxs...

IF anybody has some clear outputs of what they are working on....

Please show it ..if you don't mind....

just curious...
Saratoga is online now   Reply With Quote Reply
Old 04-18-2024, 04:24 PM   #66
equusvates
Registered User
 
Join Date: May 2021
Posts: 51
Quote:
Originally Posted by Saratoga View Post
Thxs...

IF anybody has some clear outputs of what they are working on....

Please show it ..if you don't mind....

just curious...
Equibase sells Trackmaster files and they are in XML format. Even though the data is the same, the tags are different. I have some samples of Trackmaster files but have I not looked for details and custom ratings they may contain, e.g. pace, speed and pars. I may be wrong, but I think Equibase is the source for data providers.

Last edited by equusvates; 04-18-2024 at 04:27 PM.
equusvates is offline   Reply With Quote Reply
Old 04-19-2024, 11:05 AM   #67
classhandicapper
Registered User
 
classhandicapper's Avatar
 
Join Date: Mar 2005
Location: Queens, NY
Posts: 20,630
Quote:
Originally Posted by Saratoga View Post
I have a dumb question .....

Where would you get files to handicap future races?
DRF Formulator has files you can download pre race.
__________________
"Unlearning is the highest form of learning"
classhandicapper is offline   Reply With Quote Reply
Old 04-19-2024, 11:29 AM   #68
Saratoga
Registered User
 
Join Date: Mar 2012
Posts: 517
Quote:
Originally Posted by classhandicapper View Post
DRF Formulator has files you can download pre race.
and can you apply what you got out of the mass data to handicap the races?
Saratoga is online now   Reply With Quote Reply
Old 04-19-2024, 01:22 PM   #69
headhawg
crusty old guy
 
headhawg's Avatar
 
Join Date: Aug 2003
Location: Snarkytown USA
Posts: 3,929
I looked at the data -- briefly. I had thoughts about converting it to csv files, but I hate parsing. Does it contain more info than a year's worth of Bris or .jcp files? I am assuming not, but perhaps someone who has looked at it closely can comment about the contents.
__________________
"Don't believe everything that you read on the Internet." -- Abraham Lincoln
headhawg is offline   Reply With Quote Reply
Old 04-19-2024, 01:44 PM   #70
denniswilliams
Registered User
 
Join Date: Dec 2023
Posts: 282
Quote:
Originally Posted by headhawg View Post
I looked at the data -- briefly. I had thoughts about converting it to csv files, but I hate parsing. Does it contain more info than a year's worth of Bris or .jcp files? I am assuming not, but perhaps someone who has looked at it closely can comment about the contents.
Though I haven't attempted it, this seems like a trivial conversion in Python:

read_xml to a dataframe

to_csv to a csv file


Am I missing something?
denniswilliams is offline   Reply With Quote Reply
Old 04-19-2024, 05:02 PM   #71
headhawg
crusty old guy
 
headhawg's Avatar
 
Join Date: Aug 2003
Location: Snarkytown USA
Posts: 3,929
Python is on my learn-to-do list but I more invested in C# and Godot at the moment. Coding is just a hobby, not a profession.
__________________
"Don't believe everything that you read on the Internet." -- Abraham Lincoln
headhawg is offline   Reply With Quote Reply
Old 04-20-2024, 09:42 AM   #72
classhandicapper
Registered User
 
classhandicapper's Avatar
 
Join Date: Mar 2005
Location: Queens, NY
Posts: 20,630
Quote:
Originally Posted by classhandicapper View Post
DRF Formulator has files you can download pre race.
I import the data into an Access database (along with chart information). You can do whatever you want with it from there. I mostly use it to build metrics I use for my handicapping and to test them and other handicapping factors.

A lot of what's in the handicapping literature is opinion or the result of trial and error learning that can be flawed. So it's nice to be able to test things and see what actually works.
__________________
"Unlearning is the highest form of learning"
classhandicapper is offline   Reply With Quote Reply
Old 04-22-2024, 10:01 AM   #73
ubercapper
Registered User
 
Join Date: Jun 2007
Posts: 1,239
Quote:
Originally Posted by MJC922 View Post
With Ellis starting the thread I was assuming these are Trackmaster files but I could be wrong, he can clarify.

Correct.


Data files for upcoming races are available in multiple formats on the TrackMaster web site.



https://www.trackmaster.com/products...t_performances
ubercapper is offline   Reply With Quote Reply
Old 04-22-2024, 10:27 AM   #74
Saratoga
Registered User
 
Join Date: Mar 2012
Posts: 517
Quote:
Originally Posted by classhandicapper View Post
I import the data into an Access database (along with chart information). You can do whatever you want with it from there. I mostly use it to build metrics I use for my handicapping and to test them and other handicapping factors.

A lot of what's in the handicapping literature is opinion or the result of trial and error learning that can be flawed. So it's nice to be able to test things and see what actually works.
You practically have to build something from the ground up....

From what I see , all you get is a Class and E Figures to work with

Attached Images
File Type: jpg Capture.JPG (199.6 KB, 15 views)
Saratoga is online now   Reply With Quote Reply
Old 04-22-2024, 10:53 AM   #75
wiretowire68
Registered User
 
Join Date: Jan 2020
Posts: 337
When I

Parsed this data into my Notepad...it all comes up in Chinese like writing? is this correct? @ndly. Again, not a software guy but my Notepad stops working like it cannot handle that amount of parsing. Is this a memory issue? I have tried to repair as I run Windows 11. Also, will this data fit automatically into a spreadsheet or do I need to code in the original XMl or whatever into my system.

Treat me like a I am beginner at this as would like to be able to run this and use it as a building block.
wiretowire68 is online now   Reply With Quote Reply
Reply





Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

» Advertisement
» Current Polls
Wh deserves to be the favorite? (last 4 figures)
Powered by vBadvanced CMPS v3.2.3

All times are GMT -4. The time now is 06:41 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.