move2KBA {track2KBA} | R Documentation |
Import Movebank data sets for track2KBA analysis
Description
move2KBA
imports data from Movebank repository and re-formats them to
fit track2KBA functions.
Usage
move2KBA(movebankID = NULL, user = NULL, password = NULL, filename = NULL)
Arguments
movebankID |
character or numeric. Character: full name of the study, as
stored on Movebank. Numeric: Movebank ID of the study. Both can be obtained
on the Study Details page on Movebank (https://www.movebank.org) or with
|
user |
Username associated with your Movebank account. |
password |
password associated with your Movebank username. |
filename |
character. File path to .csv downloaded from https://www.movebank.org. |
Details
This is a wrapper function for functions in move
package to import and
format tracking data from Movebank. It also attains study site location data
(lat/lons).
Value
Returns a list object of length two, containing tracking data
(accessed using: dataset$data
) and study site location information
(accessed using: dataset$site
) .
See Also
getMovebankData
for data download,
getMovebank
for study metadata,
getMovebankID
for getting study ID number
Examples
## Not run:
dataset <- move2KBA(movebankID=xxx, user="myusername", password="mypassword")
tracks <- dataset$data ## access tracking data
site <- dataset$site ## access study site coordinates
## End(Not run)