Re: [R] Get Specific Records from Another DataFrame

2018-03-24 Thread Jeff Newmiller
I suggest that you read the vignette for the data table package. That package uses some odd syntax compared to base R but has some features designed especially for these kinds of problems. -- Sent from my phone. Please excuse my brevity. On March 24, 2018 5:03:44 PM PDT, M Can wrote: >Hello >

[R] Get Specific Records from Another DataFrame

2018-03-24 Thread M Can
Hello I have been struggling with this simple looking problem. I have two dataframes. The first one contains ID, date, and revenue information for specific suppliers. id lastdate depvar A 5/10/2017 10 B 8/16/2017 20 C 2/14/2017 30 D 9/5/2017 40 E 8/1/2017 50 F 11/4/2017 60 G 6/22/2017 70 The secon