Window of time for one tower

Skip to first unread message

Chloe Boynton

Jul 13, 2016, 1:05:39 PM7/13/16
to Motus Wildlife Tracking System

Does anyone know if there is a way to highlight a window of time (ie. from 9pm at night to 6 am the following morning), not specifically looking at tags, but all detections from a tower? I'm looking to try and isolate potential roosting sites for juvenile Barn Swallows.



Phil Taylor

Jul 13, 2016, 4:32:19 PM7/13/16
to Chloe Boynton, Motus Wildlife Tracking System
Just subset (filter in package dplyr) your dataset appropriately then plot. 

for example ... (not tried)

require(lubridate) ## for ymd_hms function
require(dplyr) ## for filter

my.recv <- "SGXXYY"
ts.start <- ymd_hms("2016-05-23 12:00:00")
ts.end <- ymd_hms("2016-05-24 6:00:00")

sub.df <- filter(my.df, 
        ts > ts.start & ts < ts.end, 
        recv == my.tower)

You received this message because you are subscribed to the Google Groups "Motus Wildlife Tracking System" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
To view this discussion on the web visit
For more options, visit

Phil Taylor
Bird Studies Canada Chair in Ornithology
Acadia University, Wolfville, NS.
Reply all
Reply to author
0 new messages