Skip to contents

Movebank

Functions to browse, download data, read in csv data, and manage credentials of Movebank

movebank_store_credentials() movebank_remove_credentials()
Store or remove credentials in the system keyring
movebank_handle()
Create a curl handle for accessing movebank
movebank_download_study() movebank_download_study_info() movebank_download_deployment() movebank_retrieve() movebank_get_study_id()
Download data from movebank
movebank_get_vocabulary()
Retrieve information from the movebank vocabulary describing the columns
mt_read()
Reading files downloaded from movebank

Assertions

Functions to assert properties of a move2 object

Retrieve and set information

Retrieve or set time and track_id for the records

mt_time() `mt_time<-`() mt_set_time() mt_time_lags()
Retrieve/replace timestamps or get the interval duration between locations
mt_track_id() `mt_track_id<-`() mt_set_track_id() mt_n_tracks()
Retrieve the column with track ids or get the number of tracks

Manipulate track_id and time column names

Function to get or set the name of the column containing the track_id or time

mt_time_column() mt_track_id_column() mt_set_time_column() mt_set_track_id_column()
Get or set the name of the column containing the track_id and time

Calculate track metrics

Various tools for calculating metrics from the interval between observations

mt_azimuth() mt_turnangle()
Calculate azimuths or turn angles
mt_distance() mt_speed()
Return distances or speeds between locations
mt_time() `mt_time<-`() mt_set_time() mt_time_lags()
Retrieve/replace timestamps or get the interval duration between locations
mt_track_id() `mt_track_id<-`() mt_set_track_id() mt_n_tracks()
Retrieve the column with track ids or get the number of tracks

Track data manipulation

These functions make it possible to manipulate the track data and move attributes from the event data and back

filter_track_data() select_track_data() mutate_track_data() group_by_track_data()
dplyr functions to manipulate the track data
mt_track_data() mt_set_track_data()
Setting and retrieving the track data in move2 objects
mt_as_track_attribute() mt_as_event_attribute()
Move one or more columns to track attributes or event attributes

Track manipulation

Functions that manipulate the location data

mt_interpolate()
Linearly interpolate locations
mt_segments()
Create a LINESTRING for each track segment
mt_track_lines()
Convert trajectories into lines

Filters

These functions make it possible to filter the event data

mt_filter_movebank_visible() mt_movebank_visible()
Identify records that are not outliers according to the logic used in movebank
mt_filter_per_interval() mt_per_interval()
Find subset of records based on time windows
mt_filter_unique() mt_unique()
Filter out duplicated records from a move2 object

Conversion functions

Create a move2 from other movement objects or a data.frame

mt_as_move2()
Create a new move2 object
to_move()
Convert a move2 object to a move object

Other functions

mt_stack()
Combine multiple move2 objects into one
mt_aeqd_crs()
Create a AEQD coordinate reference system
mt_example()
Get path to move2 example data
mt_sim_brownian_motion()
Simulate Brownian motion