shiny_tracks: Dynamically explore tracks within Shiny app

Description Usage Arguments Details Examples

View source: R/shinyapp.R

Description

This Shiny application allows for the exploration of animal movement patterns. Options are available to interactively filter the plotted tracks by a selected time period of a given variable, which is then displayed on an interactive map. Additionally, a data table is shown with options to filter and export this table once satisfied.

Usage

1

Arguments

data

A data frame that must contain columns labeled id, x, y, date, but can include any other variables of interest.

epsg

numeric. The coordinate reference system (CRS) as an EPSG code.

Details

Currently, the time series plot shown for the exploration of individual tracks cannot display variables of class character or factor. Therefore, these should be changed to numeric values if they are to be plotted.

If the data are stored as longitude and latitude (i.e., WGS84), the EPSG code is 4326. All other codes will need to be looked up if they are not already known.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
#load data
data(tracks)

#run Shiny app
shiny_tracks(data = tracks, epsg = 32617)


## End(Not run)

bayesmove documentation built on Oct. 22, 2021, 9:08 a.m.