I am attempting to (legally) import sports data from a website (e.g. results from the 2012 Paralympics in London). The public site submits queries to the IPC database, and returns a page in HTML with numerous tables, depending on the combination of: Competition (London Paralympics); Sport (Athletics); Gender (F); Event (100m); AWD Class (F37); which includes a separate table for each stage of the competition (Heats/Semi-finals/Finals) and heat number. There are about 20 AWD classes per event, and usually < 20 Tables per page, depending on the popularity of the event. To partially automate this in JMP, I have a script of about 360 (=20x 18) "Open" statements of the form:
Open(
"http://www.paralympic.org/ipc_results/results.php?competition=2004PG&gender=m&sport=athletics&discipline=&event=100%20m&eclass=T11",
HTML Table (3)
);
for the Male 100m F11 (blind) group (the third table on the page). I then concatenate the tables produced by repeating this for all events. My problem is that although this process works OK for script that allows for 20 tables per class (concatenating 20 of the above statements); when I attempt to include all 18 events (360=20 x 18), execution halts without error after the first event (eg 100m) and does not produce output for the next event (200m). Is this because there are only 12 tables in this event/class combination (I don't think so), or some other problems? (I am using a 4 core, 64 bit pc with 16Gb of RAM, running WinXP ).
I would appreciate advice from anyone out there who has experience using the "Internet Open" choice on the Web.