opp2KBA | R Documentation |
Takes tracking data downloaded from Movebank using OPPTools::opp_download_data and converts it to the format needed for track2KBA
opp2KBA(data)
data |
A dataframe obtained using OPPTools::opp_download_data |
This extracts location, timestamp and deployment data from movebank data and returns a list of dataframes that can be passed to functions in track2KBA. This is useful if the user wants to filter the data downloaded from movebank based on fields contained within the reference data (e.g. sex, animal_reproductive_condition)
Returns a list object of length two, containing tracking data (accessed using: dataset$data) and study site location information (accessed using: dataset$site).
## Not run:
my_data <- opp_download_data(study = c(1247096889),login = NULL, start_month = NULL,
end_month = NULL,season = NULL)
my_track2kba <- opp2KBA(data = my_data)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.