Window of time for one tower

28 views
Skip to first unread message

Chloe Boynton

unread,
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.

Thanks!

Chloe

Phil Taylor

unread,
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)





--
http://motus-wts.org/
---
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 motus-wts+...@googlegroups.com.
To post to this group, send email to motu...@googlegroups.com.
Visit this group at https://groups.google.com/group/motus-wts.
To view this discussion on the web visit https://groups.google.com/d/msgid/motus-wts/1c21138e-d683-4333-8c07-b05abfb99f4d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



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