Re: [R] reading daily snow depth data

2015-06-16 Thread Alemu Tadesse
Thank you Jim and Bob. This is really big help for me. Jim, this is your second time to help me out. Best Alemu On Tue, Jun 16, 2015 at 1:50 PM, boB Rudis wrote: > This look similar to snow data I used last year: > https://github.com/hrbrmstr/snowfirst/blob/master/R/snowfirst.R > > All the da

Re: [R] reading daily snow depth data

2015-06-16 Thread boB Rudis
This look similar to snow data I used last year: https://github.com/hrbrmstr/snowfirst/blob/master/R/snowfirst.R All the data worked pretty well. On Tue, Jun 16, 2015 at 3:21 PM, jim holtman wrote: > Here is an example of reading in the data. After that it is a data frame > and should be able t

Re: [R] reading daily snow depth data

2015-06-16 Thread jim holtman
Here is an example of reading in the data. After that it is a data frame and should be able to process it with dplyr/data.table without much trouble: > x <- readLines(" http://www1.ncdc.noaa.gov/pub/data/snowmonitoring/fema/06-2015-dlysndpth.txt ") > writeLines(x, '/temp/snow.txt') # save for te

[R] reading daily snow depth data

2015-06-16 Thread Alemu Tadesse
Dear All, I was going to read daily snow data for each state and station/city from the following link. I was not able to separate a given state's data from the rest of the contents of the file, read the data to a data frame and save it to file. http://www1.ncdc.noaa.gov/pub/data/snowmonitoring/f