Skip to content

Instantly share code, notes, and snippets.

@donarus
Created June 30, 2015 22:59
Show Gist options
  • Save donarus/ba54fccb1f1f163d275a to your computer and use it in GitHub Desktop.
Save donarus/ba54fccb1f1f163d275a to your computer and use it in GitHub Desktop.
ID Date Team Acquired Relinquished Notes season seasonStart seasonEnd diffFromSeasonStart diffFromSeasonEnd diffFromNext
1 2008-10-29 Pacers Mike Dunleavy Jr. placed on IL with sore right knee 2008-09 2008-10-23 2009-04-20 6 173 70
2 2009-01-07 Pacers Mike Dunleavy Jr. activated from IL 2008-09 2008-10-23 2009-04-20 76 103 41
>>>>>>
this is part for which is the condition NBA_IL_days_ver2 satisfied
the season 2008-09 starts on 2008-10-23 and ends on 2009-04-20
the diff between date of event with ID 3 and end of this season is 62, but in the example in the documentation, there is value 57 ... I assume this is issue of provided example data... Please confirm
3 2009-02-17 Pacers Mike Dunleavy Jr. placed on IL with sore right knee (out for season) 2008-09 2008-10-23 2009-04-20 117 62 253
4 2009-10-28 Pacers Mike Dunleavy Jr. placed on IL with surgery on right knee 2009-10 2009-10-22 2010-04-19 6 173 30
>>>>>>
5 2009-11-27 Pacers Mike Dunleavy Jr. activated from IL 2009-10 2009-10-22 2010-04-19 36 143 89
6 2010-02-24 Pacers Mike Dunleavy Jr. placed on IL with food poisoning 2009-10 2009-10-22 2010-04-19 125 54 1
7 2010-02-25 Pacers Mike Dunleavy Jr. activated from IL 2009-10 2009-10-22 2010-04-19 126 53 363
8 2011-02-23 Pacers Mike Dunleavy Jr. placed on IL with broken right thumb 2010-11 2010-10-21 2011-04-18 125 54 35
9 2011-03-30 Pacers Mike Dunleavy Jr. activated from IL 2010-11 2010-10-21 2011-04-18 160 19 283
10 2012-01-07 Bucks Mike Dunleavy Jr. placed on IL with groin injury 2011-12 2011-12-20 2012-05-01 18 115 13
11 2012-01-20 Bucks Mike Dunleavy Jr. activated from IL 2011-12 2011-12-20 2012-05-01 31 102 316
12 2012-12-01 Bucks Mike Dunleavy Jr. placed on IL with knee injury 2012-13 2012-10-25 2013-04-22 37 142 2
13 2012-12-03 Bucks Mike Dunleavy Jr. activated from IL 2012-13 2012-10-25 2013-04-22 39 140 2
14 2012-12-05 Bucks Mike Dunleavy Jr. placed on IL with sore left knee 2012-13 2012-10-25 2013-04-22 41 138 7
15 2012-12-12 Bucks Mike Dunleavy Jr. activated from IL 2012-13 2012-10-25 2013-04-22 48 131 3
16 2012-12-15 Bucks Mike Dunleavy Jr. placed on IL with bruised left knee 2012-13 2012-10-25 2013-04-22 51 128 3
17 2012-12-18 Bucks Mike Dunleavy Jr. activated from IL 2012-13 2012-10-25 2013-04-22 54 125 NA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment