Re: [R] Downloading tab separated data from internet

2011-12-03 Thread HC
Thanks for your reply. I tried to use the postForm function of RCurl as below but do not have much clue as to how to go further with what it does. library(RCurl) stn<-"03015795" myurl<-paste("http://ida.water.usgs.gov/ida/available_records.cfm?sn=",stn,sep="";) mypage1 = readLines(myurl) # Get

Re: [R] Downloading tab separated data from internet

2011-12-03 Thread Prof Brian Ripley
AFAICS what you mean is 'how can I fill in an HTML form using R'. Answer: use package RCurl. Do study the posting guide: none of the 'at a minimum' information was given here. On 03/12/2011 04:47, HC wrote: Hi all, I am trying to download some tab separated data from the internet. The data

[R] Downloading tab separated data from internet

2011-12-03 Thread HC
Hi all, I am trying to download some tab separated data from the internet. The data is not available directly at the URL that could be known apriori. There is an intermediate form where start and end dates have to be given to get to the required page. For example, I want to download data for a st