Rows: 51246 Columns: 6
── Column specification ────────────────────────────────────────────────────────
Delimiter: ","
chr (2): TierID, TierName
dbl (3): CollarID, E, N
dttm (1): DatetimeUTC
ℹ Use `spec()` to retrieve the full column specification for this data.
ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
Show/Hide Code
#filter data "Rosa" & "Sabi" in the time 01.04.2015 - 15.04.2015wildschwein <- wildschwein |>filter( TierName %in%c("Sabi", "Rosa"), DatetimeUTC >="2015-04-01", DatetimeUTC <"2015-04-15" )
2 Create a Join Key
round the minutes of DatetimeUTC
store the value in a new column
Show/Hide Code
#1. wildschwein <- wildschwein |>mutate(rounded_time =round_date(DatetimeUTC, unit ="15 minutes"))wildschwein