@GPowney and I just discovered that we're inadvertently centering the Julian dates TWICE not once.
Line 161 of formatOccData
taxa_data$Jul_date <- taxa_data$Jul_date - 182
Line 58 of getBugsData
JulDate <- occDetData$Jul_date - 182
Whilst trivial to delete one of these, we should think first about which is most sensible to get rid of. Also, depending on which we use, it may be sensible to rename it as cJulDate, to indicate that it's been centered.
I have fixed this by commenting out the "- 182" on line 58 of getBugsData.
The broader issue is now dependent on how we deal with #119 so I will close it here.
@GPowney and I just discovered that we're inadvertently centering the Julian dates TWICE not once.
Line 161 of formatOccData
taxa_data$Jul_date <- taxa_data$Jul_date - 182
Line 58 of getBugsData
JulDate <- occDetData$Jul_date - 182
Whilst trivial to delete one of these, we should think first about which is most sensible to get rid of. Also, depending on which we use, it may be sensible to rename it as cJulDate, to indicate that it's been centered.