Smartgambler
Pro-Punter

Go Back   OZmium Sports Betting and Horse Racing Forums > Public Forums > Horse Race Betting Systems
User Name
Password
Register FAQ Search Today's Posts Mark all topics as read

To advertise on these
forums, e-mail us.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 7th April 2006, 05:20 PM
wesmip1 wesmip1 is offline
Member
 
Join Date: Sep 2005
Posts: 1,601
Default Help programming .....

Anyone,

Anyone got a program that turns a form guide into a csv file which they are willing to share.

I assume most people have done it in excel using a webquery but I don't want to have to reinvent the wheel to get the data if someone has already done it.

Thanks.
Reply With Quote
  #2  
Old 8th April 2006, 04:17 PM
brownie brownie is offline
Member
 
Join Date: Mar 2006
Posts: 29
Default

Sounds like you know how to suck a web page into excel.

From there you just need to save it as a csv
Reply With Quote
  #3  
Old 8th April 2006, 04:54 PM
wesmip1 wesmip1 is offline
Member
 
Join Date: Sep 2005
Posts: 1,601
Default

Brownie,

Sucking in a web page is easy. Putting it into a format that is useful is the time consuming bit.

Thats the part I am after....

Thanks
Reply With Quote
  #4  
Old 9th April 2006, 05:41 AM
Shaun Shaun is offline
Member
 
Join Date: Jan 1970
Location: Western Australia
Posts: 3,457
Default

Not sure what page you are putting in to excel but what i do is a copy paste to a text doc then i import it to excel comma delimited from there i have formulas to extract the useful information.
Reply With Quote
  #5  
Old 9th April 2006, 06:39 AM
wesmip1 wesmip1 is offline
Member
 
Join Date: Sep 2005
Posts: 1,601
Default

Shaun,

Thanks for the input.

I am looking for everything to automatic. Press a button and it gets the days form and stores it in a csv or database. Essentially I want to read it in using a webquery and then run a macro over the code. I just didn't want to have to right the macro to parse the code if I didn't have to as that is the time consuming part. Its time consuming due to the different types of data and length of data per race which need to be handled.

Thanks for your advice though.
Reply With Quote
  #6  
Old 9th April 2006, 04:33 PM
Chrome Prince Chrome Prince is offline
Member
 
Join Date: Jan 1970
Posts: 4,426
Default

wesmip,

this is what i do with web results....

I have sheet1 in an excel workbook, on this sheet i have a formula which is part of the url. I then have to manually fill down the date meeting id and number of races (not that time consuming - I do a week in about 10 minutes).

Now I run a macro which reads each url cell (part of a formula) and does a web query then is pasted to sheet2. On sheet3 are all the formulae which parse the data and keep the information in a format I can import direct to my database.

The macro then copies the DATA from sheet3 and pastes into a newly created workbook in a folder on the desktop.

It works well, but I have to interrogate the data, as the ************s keep changing the page format on a regular basis to curb such practices.

E.G. one week the date will look like this:

Date: 01/01/2006

The next week it looks like this:

Date
10/01/2006

Clearly they are trying to thwart canny operators

Also when they have a mystery bet or some special promotion, it stuffs up the columns, so I just go back and fill it in manually.

I'd say all in all it takes a couple of hours to properly do a week's racing, but then I add extra stuff to it also,so it might not take as long for someone else.

I can't provide the actual sheets, as it took me a few months to build, and it has bugs which need to be ironed out from time to time.

My suggestion is to use my method and when you get stuck, record a partial macro and just edit it step by step.

I find using formulae to manipulate data the best way of quickly doing it without knowing too much advanced coding.
__________________
RaceCensus - powerful system testing software.
Now with over 412,000 Metropolitan, Provincial and Country races!
http://www.propun.com.au/horse_raci...ng_systems.html
*RaceCensus now updated to 31/12/2024
Video overview of RaceCensus here:
http://www.youtube.com/watch?v=W821YP_b0Pg
Reply With Quote
  #7  
Old 9th April 2006, 04:48 PM
wesmip1 wesmip1 is offline
Member
 
Join Date: Sep 2005
Posts: 1,601
Default

Thanks Chrome.

I'll give it a go....
Reply With Quote
  #8  
Old 9th April 2006, 04:59 PM
marcus25 marcus25 is offline
Member
 
Join Date: Dec 2004
Posts: 172
Default

Quote:
Originally Posted by Chrome Prince
this is what i do with web results....

Hi CP!
It is purely of academic interest? where do you get your form and results on the net?
Cheers
Reply With Quote
  #9  
Old 9th April 2006, 09:00 PM
Chrome Prince Chrome Prince is offline
Member
 
Join Date: Jan 1970
Posts: 4,426
Default

Hehe, I deliberately left out where the results come from for various reasons

They might not be too happy, BUT I change some data and get other parts of it from another site, so i stay on the right side of copyright laws.

I use virtual 5 start form, but manipulate that too!
__________________
RaceCensus - powerful system testing software.
Now with over 412,000 Metropolitan, Provincial and Country races!
http://www.propun.com.au/horse_raci...ng_systems.html
*RaceCensus now updated to 31/12/2024
Video overview of RaceCensus here:
http://www.youtube.com/watch?v=W821YP_b0Pg
Reply With Quote
  #10  
Old 9th April 2006, 09:48 PM
Shaun Shaun is offline
Member
 
Join Date: Jan 1970
Location: Western Australia
Posts: 3,457
Default

I use the same but i use the free 3 start form
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump



All times are GMT +10. The time now is 07:16 AM.


Powered by: vBulletin Version 3.0.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
©2008 OZmium Pty. Ltd. All rights reserved . ACN 091184655