View source: R/mt_get_dataset.R
| mt_get_dataset | R Documentation |
Downloads animal tracking data from data repositories (Movebank Data Repository
or Zenodo) and returns a move2 object. This function provides a unified interface
for accessing tracking data that has been published in data repositories.
mt_get_dataset(url, ...)
url |
A character string containing the URL or DOI of the data repository record. Supported formats:
|
... |
Additional arguments passed to internal repository-specific download functions.
For zenodo |
This function automatically detects whether the provided URL points to a Movebank Data Repository record (via DOI) or a Zenodo record, and uses the appropriate download method.
A move2 object containing the tracking data.
movebank_download_study() for downloading directly from Movebank API
mt_read() for reading tracking data from local files
## Not run:
# Download from Movebank Data Repository using DOI
move2_data <- mt_get_dataset("http://doi.org/10.5441/001/1.734")
# Download from Zenodo using record URL
move2_data <- mt_get_dataset("https://zenodo.org/records/12336021",
resources="gps")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.