Re: [R] Finding the right url for RCurl

2010-08-05 Thread AndrewPage
Thanks for the help so far-- one interesting thing about this particular page is that the data displayed on the website actually differs from the data you can access with the "download" link. The XML package command works, but the table it produces in R has the following column names: > x1 = >

Re: [R] Finding the right url for RCurl

2010-08-05 Thread Henrique Dallazuanna
Try this: library(XML) readHTMLTable(' http://www.invescopowershares.com/products/holdings.aspx?ticker=PGX', which = 13, header = TRUE) On Wed, Aug 4, 2010 at 6:07 PM, AndrewPage wrote: > > Hi all, > > I am using RCurl to try and download data from a website, but I'm having > trouble finding ou

Re: [R] Finding the right url for RCurl

2010-08-05 Thread Brian Diggs
On 8/4/2010 2:07 PM, AndrewPage wrote: Hi all, I am using RCurl to try and download data from a website, but I'm having trouble finding out what URL to use. Here is the site: http://www.invescopowershares.com/products/holdings.aspx?ticker=PGX See how in the upper right, above the displayed s

[R] Finding the right url for RCurl

2010-08-04 Thread AndrewPage
Hi all, I am using RCurl to try and download data from a website, but I'm having trouble finding out what URL to use. Here is the site: http://www.invescopowershares.com/products/holdings.aspx?ticker=PGX See how in the upper right, above the displayed sheet, there's a link to download the data