getMovebankData: Download data from Movebank

Description Usage Arguments Details Note Author(s) See Also Examples

Description

getMovebankData downloads the location and timestamp columns of a study stored in Movebank

Usage

1
  getMovebankData(study, animalName, login, ...)

Arguments

study

character, full name of the study, as stored on Movebank

animalName

character, single or a vector, with the name of the individuals as stored on Movebank

login

a MovebankLogin, if empty you'll be asked to enter your username or password

...

passing on additional arguments

Details

getMovebankData belongs to the Movebank browsing functions and returns a Move object from studies with only on animal or MoveStack object for studies with multiple animals. If only a single or several particular animals of a study should be downloaded, a character vector can be provided for the animalName argument.
Remember that you need an account at Movebank.org, see movebankLogin.

Note

See the 'browseMovebank' vignette (move website download section) for more information about security and how to use Movebank from within R.

It his possible to add the argument removeDuplictedTimestamps=TRUE and set it to true which allows you delete the duplicated timestamps, it is strongly advised not to use this option because there is no control over which records are removed. Its better to edit the records in movebank and mark the appropriate records as outliers.

Author(s)

Marco Smolla

See Also

movebankLogin

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
#obtain a login
login<-movebankLogin()
getMovebankData(study="BCI Ocelot", login=login) 
#returns a MoveStack object from the specified study
getMovebankData(study="BCI Agouti", login=login) 
#returns a Move object (there is only one individual in this study)
getMovebankData(study=123413, animalName=c("Mancha","Yara"), login=login) 
#returns a MoveStack with two individuals

## End(Not run)

move documentation built on Jan. 16, 2017, 2:22 a.m.