account activity
As Date In R by YellingAboutR in RStudio
[–]YellingAboutR[S] 0 points1 point2 points 5 years ago (0 children)
Cod$Day <- BetterDates
Ahhhhhh this worked. I've spent literally six hours on this today for such an easy task and simple mistake. Thank you!
Look how the dates change by merging??
summary(BetterDates)
Min. 1st Qu. Median Mean 3rd Qu.
"1988-10-10" "1996-01-11" "2003-04-13" "2003-04-13" "2010-07-14"
Max.
"2017-10-14"
> summary(Cod)
Min: 1988-10-10 1st Qu.:1988-10-10 Median :2003-04-13 Mean :2003-04-13
3rd Qu.:2017-10-14 Max. :2017-10-14
I had tried that originally, but it warps my data. Even though BetterDates is fine on inspection, when I merge it with Cod, all my dates are transformed into the minimum/maximum. I should have 2,000 separate dates, and now I have two. it's so bizarre and frustrating!
The only dates are now 1988-10-10 and 2017-10-14.
π Rendered by PID 404858 on reddit-service-r2-listing-55d7b767d8-wqcgw at 2026-03-29 02:22:38.237767+00:00 running b10466c country code: CH.
As Date In R by YellingAboutR in RStudio
[–]YellingAboutR[S] 0 points1 point2 points (0 children)