1. #1
    robzilla
    An SBR Legend.
    robzilla's Avatar Become A Pro!
    Join Date: 10-25-07
    Posts: 3,556
    Betpoints: 349

    how do you import data from Pinnacle to Excel?

    I'm trying to track plays and make some graphs, but I'm having problems importing data from Pinnacle to excel. It doesnt copy and paste properly. Is there a way to do this without manually entering the data myself. I really dont want to do that cuz there are thousands of plays.

  2. #2
    EasyHustlin
    EasyHustlin's Avatar Become A Pro!
    Join Date: 07-15-10
    Posts: 633
    Betpoints: 234

    =====> "An introduction to research" <===== (good place to start)

  3. #3
    robzilla
    An SBR Legend.
    robzilla's Avatar Become A Pro!
    Join Date: 10-25-07
    Posts: 3,556
    Betpoints: 349

    there has to be an easier way.

  4. #4
    robzilla
    An SBR Legend.
    robzilla's Avatar Become A Pro!
    Join Date: 10-25-07
    Posts: 3,556
    Betpoints: 349

    basically all i need to do is d/l a scrapper prog, and extract the data to excel that way?

  5. #5
    MonkeyF0cker
    Update your status
    MonkeyF0cker's Avatar Become A Pro!
    Join Date: 06-12-07
    Posts: 12,144
    Betpoints: 1127

    You can use Excel to scrape the data directly.

  6. #6
    robzilla
    An SBR Legend.
    robzilla's Avatar Become A Pro!
    Join Date: 10-25-07
    Posts: 3,556
    Betpoints: 349

    Quote Originally Posted by MonkeyF0cker View Post
    You can use Excel to scrape the data directly.
    awesome. thanks monkey.

  7. #7
    mebaran
    Con los terroristas
    mebaran's Avatar Become A Pro!
    Join Date: 09-16-09
    Posts: 1,540
    Betpoints: 330

    Quote Originally Posted by MonkeyF0cker View Post
    You can use Excel to scrape the data directly.
    This.

    Web Queries are pretty powerful in Excel if used correctly. Pick yourself up a book about Macros or VBA and you'll have a fairly robust process working.

  8. #8

  9. #9
    robzilla
    An SBR Legend.
    robzilla's Avatar Become A Pro!
    Join Date: 10-25-07
    Posts: 3,556
    Betpoints: 349

    Quote Originally Posted by MonkeyF0cker View Post
    You can use Excel to scrape the data directly.
    i tried to capture my graded bets with excel but it wouldnt work.

  10. #10
    MonkeyF0cker
    Update your status
    MonkeyF0cker's Avatar Become A Pro!
    Join Date: 06-12-07
    Posts: 12,144
    Betpoints: 1127

    You'll need to learn VBA.

  11. #11
    robzilla
    An SBR Legend.
    robzilla's Avatar Become A Pro!
    Join Date: 10-25-07
    Posts: 3,556
    Betpoints: 349

    Quote Originally Posted by MonkeyF0cker View Post
    You'll need to learn VBA.
    are u shitting me? that is BS.

  12. #12
    durito
    escarabajo negro
    durito's Avatar Become A Pro!
    Join Date: 07-03-06
    Posts: 13,173
    Betpoints: 438

    You already hit 75% not sure what else you need.

  13. #13
    robzilla
    An SBR Legend.
    robzilla's Avatar Become A Pro!
    Join Date: 10-25-07
    Posts: 3,556
    Betpoints: 349

    there has to be a way to do this without me having to learn to be a programmer.

  14. #14
    durito
    escarabajo negro
    durito's Avatar Become A Pro!
    Join Date: 07-03-06
    Posts: 13,173
    Betpoints: 438

    Try paying a programmer.

  15. #15
    robzilla
    An SBR Legend.
    robzilla's Avatar Become A Pro!
    Join Date: 10-25-07
    Posts: 3,556
    Betpoints: 349

    Quote Originally Posted by durito View Post
    Try paying a programmer.
    cmon cool ranch. is it cuz pin uses script to show graded bets?

  16. #16
    brewers7
    brewers7's Avatar Become A Pro!
    Join Date: 03-11-06
    Posts: 298
    Betpoints: 4441

    robzilla:

    I have been copying-and-pasting Pinnacle lines into MS-Excel for years...

    It is EASY and the formatting comes out just fine with a simple little "adjustment" and you don't have to do any VB programming at all...It takes just seconds to make this "adjustment" and any Excel beginner can do it....

    any questions, elt me know...I can send you or post a sample if need be...

  17. #17
    evo34
    evo34's Avatar Become A Pro!
    Join Date: 11-09-08
    Posts: 1,032
    Betpoints: 4198

    Web queries work fine. E.g., you can import: http://www.pinnaclesports.com/lines....=mlb&periods=1. The only issue (starting this season) with Pinnacle is that you cannot select a single table, so you have to import the entire page; for whatever reason, the first game seems to be located in a slightly different spot every day. I.e., your query may put your useable data in a different row from day to day. Able to be dealt with, but small hassle.

  18. #18
    uva3021
    uva3021's Avatar Become A Pro!
    Join Date: 03-01-07
    Posts: 537
    Betpoints: 381

    use dom to extract each node value via the xml document tree, the dom inspector plugin in firefox facilitates the search for the correct node positions, but its easy to do it visually without any other program

    the vba code for transferring xml into memory so you can manipulate the document:

    Code:
        Dim xmlLoad As New MSXML2.DOMDocument
          Dim events As IXMLDOMNode
        Dim XMLHttpRequest As MSXML2.xmlhttp
        Dim URL As String
        
        URL = "http://xml.pinnaclesports.com/pinnacleFeed.aspx?sportType=baseball&sportsubType=MLB"
        Set XMLHttpRequest = New MSXML2.xmlhttp
        XMLHttpRequest.Open "GET", URL, False
        XMLHttpRequest.send
        Set xmlLoad = New MSXML2.DOMDocument
        Do Until xmlLoad.readyState = 4
        Loop
        xmlLoad.LoadXML (XMLHttpRequest.responseText)
    from there its just pointing the node positions to the cells in excel

Top