Skip to content
Prev 347686 / 398500 Next

Melt and Rbind/Rbindlist

Hello Mr. Holtman,

Thank you very much for your reply and suggestion. This is what each Year's
data looks like;

tmp1 <- structure(list(FIPS = c(1001L, 1003L, 1005L), X2026.01.01.1 =
The data is in 3-hour blocks for every day by US FIPS code from 2026-2045,
each year's data is in a difference csv. My goal is to to compute max, min,
and mean by week and month. I used the following code to assign week
numbers to the observations;

nweek <- function(x, format="%Y-%m-%d", origin){
Then the following;

for (i in filelist) {
Is this efficient? Thank you so much again. I really appreciate it.

Sincerely,

Shouro
On Sun, Feb 1, 2015 at 1:22 AM, jim holtman <jholtman at gmail.com> wrote:

            

  
  
Message-ID: <CAMx+UYfkUxTZx8Lt9PHcFgk017MUrxY6FtJQEhr+4ORJ_U9fEA@mail.gmail.com>
In-Reply-To: <CAAxdm-6DUOimQYaGUyAAqsM4frEwmbbK9Nartkf1Zr16P10UBA@mail.gmail.com>