Skip to content
Prev 206597 / 398503 Next

Comparing dates in dataframes

But, but, but .... there is no weather goodness variable in  
weather?!?!?!

 > str(weather)
'data.frame':	155 obs. of  4 variables:
  $ Date   :Class 'Date'  num [1:155] 14245 14245 14245 14245 14245 ...
  $ minute : int  5 15 30 45 0 15 30 45 0 15 ...
  $ hour   : int  15 15 15 15 17 17 17 17 18 18 ...
  $ quarter: int  65 75 90 105 68 83 98 113 72 87 ..

I thought you said the "weather" dataframe would have some information  
about "goodness" that we were supposed to map to arrivals.? What is  
the meaning of those variables? How do we define a "good" quarter  
hour? And why are the values of quarter not 1, 2, 3, 4? They ought to  
be a factor or integer that could be matched to those that are in  
"arr", which are also apparently not so defined. Let's see a better  
codebook or description of these variables.
On Jan 17, 2010, at 6:47 PM, James Rome wrote:

            
David Winsemius, MD
Heritage Laboratories
West Hartford, CT