Skip to contents

This function downloads OPP tracking data from Movebank and returns a dataframe with combined tracking and reference data for all deployments.

Usage

opp_download_data(
  study,
  login = NULL,
  start_month = NULL,
  end_month = NULL,
  season = NULL
)

Arguments

study

List of Movebank project ids.

login

Stored Movebank login credentials if provided, otherwise function will prompt users to enter credentials. If credentials were saved with opp_movebank_key, this field will be ignored and login credentials will be automatically retrieved.

start_month

Earliest month (1-12) to include in output.

end_month

Latest month (1-12) to include in output.

season

Vector describing the season data can be applied to, eg. 'Breeding (Jun-Jul)'

Details

The function can be passed a list of movebank study IDs and will append data from all studies.

Examples

# download ANMU project data from two studies, for May only
my_data <- opp_download_data(study = c(1895716931, 1897273090),
                            login = NULL, start_month = 5, end_month = 5,
                            season = 'Incubation')
#> Warning: 0 location(s) is/are removed by removeDuplicatedTimestamps
#> Warning: 0 location(s) is/are removed by removeDuplicatedTimestamps