Displaying 3 results from an estimated 3 matches for "stop_dates".
Did you mean:
stop_date
2011 Apr 20
3
[test message] Can R replicate this data manipulation in SAS?
...1/05/1999 -1
12 1004 NRTI 01/05/1999 -1
13 9999 PI 01/02/2003 1
14 9999 NNRTI 04/05/2006 1
15 9999 NNRTI 07/08/2009 -1
**** Get regimen information plus start and stop dates;
data cumulative(drop=book_class change stop_date)
stop_dates(keep=id regimen stop_date);
set changes;
by id date;
if first.id then do;
regimen = 0;
NRTI = 0;
NNRTI = 0;
PI = 0;
end;
if book_class = 'NNRTI' then NNRTI + change;
else if book_class = 'NRTI' then NRTI + change;
else if book_class = 'PI ' then PI + change;
if l...
2008 Jul 12
3
calculations on nested resources
Hi,
I can''t seem to find a solution to the folowing problem.
I have 3 resources that are all bound to eachother like this:
class Item < ActiveRecord::Base
belongs_to :item_category
// has a date and amount attr
end
class ItemCategory < ActiveRecord::Base
has_many :items
has_many :item_tops
// groups the items in categories
end
class ItemTop < ActiveRecord::Base
2009 May 05
3
Oracle-JRuby error
I am trying to migrate from RoR/MYSql to JRoR/Oracle. I am using Active
Record JDBC to talk to the database. The Migration process to create and
populate the database tables has been painful. My latest issue is the
method new_date is undefined in the JDBC adapter. I have the following
gems installed:
*** LOCAL GEMS ***
actionmailer (2.2.2)
actionpack (2.2.2)
activerecord (2.2.2)