Jim,
Thanks a lot! works perfectly! now i just use a for loop and rbind to create
one dataset with all daily observations.
Arsenio
--
View this message in context:
http://r.789695.n4.nabble.com/Downloading-a-csv-through-a-jsp-url-with-variable-parameters-R-code-or-package-tp3070541p3077565.htm
Something like this should work, only Sept has 30 days, not 31:
> files <- seq(as.Date('2008-09-30'), by = '1 day', length = 250)
> input <- paste(".jsp?y="
+ , format(files, "%Y")
+ , "&m="
+ , format(files, "%m")
+ , "&d="
+ , forma
So i realized putting this
raw.untr <- as.data.frame(read.csv(file='...jsp?y=2008&m=09&d=30',
header = TRUE, as.is = TRUE))
reads the file prefectly, so i was wondering how can i create a set of
dataframes each with observations for one day (say for 3 years with 250 days
of data each year =
Dear R experts,
I'm trying to download a .csv file with daily data on the companies through
a javascript url ending in .jsp of the following form:
http://... .com/.../.../filename.jsp?y=2004&m=3&d=9
where y = year, m = month and d=day. Accessing the link gives you the .csv
for that date. I wa
4 matches
Mail list logo