You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First let's fix the `raw_date` column so that it is represented as a actual date object using `lubridate::ymd_hms`.
98
+
First let's fix the `raw_date` column so that it is represented as an actual date object using `lubridate::ymd_hms`. It is also converted to the correct time zone with `with_tz`, another `lubridate` function.
The return value for the `betydb_query` function is just a `data.frame` so we can work with it like any other `data.frame` in R.
61
61
62
-
Let's plot a time series of all traits returned. First you might notice that the relevant date columns in the `season_4` data.frame are returned as characters instead of a date format. Before plotting, let's get our `raw_date` column into a proper date format using functions from `dplyr` and `lubridate`.
62
+
Let's plot a time series of all traits returned. First you might notice that the relevant date columns in the `season_4` data.frame are returned as characters instead of a date format. Before plotting, let's get our `raw_date` column into a proper date format and time zone using functions from `dplyr` and `lubridate`.
0 commit comments