Page 3 of 6 FirstFirst 12345 ... LastLast
Results 21 to 30 of 60

Thread: WCA website crawling

  1. #21
    Member
    Join Date
    Sep 2006
    Location
    Amsterdam
    WCA Profile
    2003BRUC01
    Posts
    339

    Default

    I added three new things to the Excel file (starting with the July 2009 version):
    - Countries table
    - Continents table
    - SQL statements for creation of the tables

    There are some additional tables that we use to generate the rankings on the pages without recalculating them all the time.
    These tables are regenerated after adding new competition results.

  2. #22
    Super Moderator
    Join Date
    Feb 2008
    Location
    Westminster, CO
    WCA Profile
    2008BRUN01
    Posts
    1,133

    Default

    Ron,

    How would you feel about providing a "mysqldump --no-data" of the original schema? I imported several sheets of the workbook last night and it's not too hard to infer the types, but since it's only a single command, I thought you may not mind.

    Thanks
    The person posting below me is a genius.

  3. #23
    Member
    Join Date
    Sep 2006
    Location
    Amsterdam
    WCA Profile
    2003BRUC01
    Posts
    339

    Default

    How would you feel about providing a "mysqldump --no-data" of the original schema?
    Please clarify your question.

  4. #24
    Super Moderator
    Join Date
    Feb 2008
    Location
    Westminster, CO
    WCA Profile
    2008BRUN01
    Posts
    1,133

    Default

    Running the command "mysqldump --no-data schemaname" will generate a dump of all the SQL to create the schema without the data in it. That would be helpful to those of us who want to create a schema to import the data into.

    I've also posted a more detailed request and an offer to assist over on the WCA site.

    Thanks for all the work so far.
    The person posting below me is a genius.

  5. #25
    Member
    Join Date
    Sep 2006
    Location
    Amsterdam
    WCA Profile
    2003BRUC01
    Posts
    339

    Default

    The new file for August 2009 is online now.
    You need to refresh the whole database, because we needed to change some past results as well.

    Brunson, I tried what you said but it does not give me more information than the table definitions I added to the first page of the file. What more information do you need?
    Last edited by Ron; 09-02-2009 at 10:33 PM.

  6. #26
    Super Moderator
    Join Date
    Feb 2008
    Location
    Westminster, CO
    WCA Profile
    2008BRUN01
    Posts
    1,133

    Default

    Oh, I'm sorry, Ron. I didn't see that you had added that to the first page. My bad.

    Thanks!
    The person posting below me is a genius.

  7. #27
    Super Moderator
    Join Date
    Feb 2008
    Location
    Westminster, CO
    WCA Profile
    2008BRUN01
    Posts
    1,133

    Default

    Quote Originally Posted by Dave Campbell View Post
    I cannot open the file as it was created by a newer version of Excel than the one i am running (and i am running 2002). I'd personally rather see an sql dump file than an Excel file.
    I just noticed that the results tab has exceeded the 65535 row limit of OpenOffice Calc and gnumeric, so I can't open it and retrieve all the result data. Bummer.
    The person posting below me is a genius.

  8. #28
    Premium Member MichaelErskine's Avatar
    Join Date
    Jul 2008
    Location
    Sherwood, Nottingham, UK
    WCA Profile
    2008ERSK01
    YouTube
    msemtd
    Posts
    1,181

    Default

    Quote Originally Posted by brunson View Post
    I just noticed that the results tab has exceeded the 65535 row limit of OpenOffice Calc and gnumeric, so I can't open it and retrieve all the result data. Bummer.
    I shall create a sqldump version and an ODS with two results tabs when I get into the office tomorrow. There's no good reason to get locked into non-free software
    Failing to improve!

  9. #29
    Super Moderator
    Join Date
    Feb 2008
    Location
    Westminster, CO
    WCA Profile
    2008BRUN01
    Posts
    1,133

    Default

    That would be so awesome, Michael. I was thinking of writing a python macro for OOCalc to automatically save the tabs as CSV, that's the only part that's still manual for me. I was disappointed at the 65535 row limitation of OO and ended up finding this: http://www.openoffice.org/issues/show_bug.cgi?id=30215

    Normally I'd be all over complaining about proprietary formats, but Ron is doing us a huge service so I kept my mouth shut.

    If you can send it to me I can put it on my web server for anyone else that wants it.

    Thanks again. And no end of thanks to Ron for making the data available in the first place.
    The person posting below me is a genius.

  10. #30
    Premium Member MichaelErskine's Avatar
    Join Date
    Jul 2008
    Location
    Sherwood, Nottingham, UK
    WCA Profile
    2008ERSK01
    YouTube
    msemtd
    Posts
    1,181

    Default

    Quote Originally Posted by brunson View Post
    That would be so awesome, Michael.
    PM sent -- "can has ODS?" => "kthxbye"

    I still need to create an sqldump (changed now we have the table definitions -- but not MyISAM!!!) -- I'll do that later.
    Last edited by MichaelErskine; 09-04-2009 at 01:06 AM.
    Failing to improve!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •