plotRouteMap: Map of tag routes and sites coloured by id

Description Usage Arguments Author(s) Examples

View source: R/plotRouteMap.R

Description

Google map of routes of Motus tag detections coloured by ID. User defines a date range to show points for receivers that were operational at some point during the date range.

Usage

1
plotRouteMap(data, zoom, latCentre, lonCentre, maptype, recvStart, recvEnd)

Arguments

data

a .motus sql file

zoom

integer for zoom 3-21, 3 being continent level, 10 being city-scale

latCentre

latitude to centre map around

lonCentre

longitude to centre map around

maptype

google map type to display, can be: "terrain" , "roadmap", "satellite", or "hybrid"

recvStart

start date for date range of active receivers

recvEnd

end date for date range of active receivers

site_data

receiver metadata file

Author(s)

Zoe Crysler zcrysler@gmail.com

Examples

1
2
3
4
5
You must use a .motus sql file, instructions to load using tagme() are below
sql.motus <- tagme(176, new = TRUE, update = TRUE) # download and access data from project 176 in sql format

Plot routemap of all detection data, with "terrain" maptype, and receivers active between 2016-01-01 and 2017-01-01
plotRouteMap(sql.motus, maptype = "terrain", latCentre = 44, lonCentre = -70, zoom = 5, recvStart = "2016-01-01", recvEnd = "2016-12-31")

jbrzusto/motus documentation built on May 18, 2019, 7:03 p.m.