Re: [R] web scraping image

2015-06-08 Thread Curtis DeGasperi
('peakfq_',siteno[a],'.txt', sep = "") tab.fn <- paste('tab_',siteno[a],'.txt', sep = "") download.file(graphic.img,graphic.fn,mode='wb') download.file(peakfq.url,peakfq.fn) download.file(tab.url,tab.fn) } > ---

[R] web scraping image

2015-06-04 Thread Curtis DeGasperi
I'm working on a script that downloads data from the USGS NWIS server. dataRetrieval makes it easy to quickly get the data in a neat tabular format, but I was also interested in getting the tabular text files - also fairly easy for me using download.file. However, I'm not skilled enough to work ou