This function downloads a zip archive containing MATLAB files from the iRfcb
dataset available in the SMHI IFCB Plankton Image Reference Library (Torstensson et al. 2024),
unzips them into the specified folder and extracts png images. These data can be used, for instance,
for testing iRfcb and for creating the tutorial vignette
using vignette("tutorial", package = "iRfcb")
Usage
ifcb_download_test_data(
dest_dir,
figshare_article = "48158716",
max_retries = 5,
sleep_time = 10,
verbose = TRUE
)
Arguments
- dest_dir
The destination directory where the files will be unzipped.
The file article number at the SciLifeLab Figshare data repository. By default, the iRfcb test dataset (48158716) from Torstensson et al. (2024) is used.
- max_retries
The maximum number of retry attempts in case of download failure. Default is 5.
- sleep_time
The sleep time between download attempts, in seconds. Default is 10.
- verbose
A logical indicating whether to print progress messages. Default is TRUE.
References
Torstensson, Anders; Skjevik, Ann-Turi; Mohlin, Malin; Karlberg, Maria; Karlson, Bengt (2024). SMHI IFCB Plankton Image Reference Library. Version 3. SciLifeLab. Dataset. doi:10.17044/scilifelab.25883455.v3