getMovebankLocationData
belongs to the Movebank browsing functions and returns a data.frame
with data from one or multiple location sensors from studies with one animal or multiple animals.
Remember that you need an account on Movebank, see movebankLogin
.
Note that getMovebankData has also the option to download location data directly into a move/moveStack
object.
Attribute names:
The definitions of the content of the columns of the returned data.frame
is detailed in the Attribute Dictionary on Movebank. The attributes deployment_id, individual_id, tag_id, study_id
correspond to the internal ids of Movebank.
sensorID
:
See getMovebankSensors to obtain all available sensors of the study of interest. The valid names for this argument are those of the the columns "name" or "id" of the table returned by getMovebankSensors(login)
. The valid numeric Ids are also in the column "sensor_type_id" in the table returned for a specific study with getMovebankSensors(study,login)
. This function only accepts location sensors which are marked as "true"" in the "is_location_sensor" column of the table returned by getMovebankSensors(login)
.
underscoreToDots
:
.csv files downloaded from the Movebank webpage contain dots in their column names, and .csv files downloaded via the API (like in the case of this function) contain instead underscores in their column names. Many of the functions in the Move package were created based on the webpage csv downloaded data and rely on the column names with dots. If you would like to use function like e.g. getDuplicatedTimestamps
or read in the csv file with move
by stating the path to file, among others, than the column names have to be with dots.
Downloading a study with many locations:
If the study to be downloaded has many locations (probably in the order of 10s of millions), the download may take so long that the connection breaks, and the study cannot be downloaded. We recommend to download each individual separately to ensure a successfully download. See more details and examples in the 'browseMovebank' vignette.