A logical argument specifying whether an image file of each species
map should be returned, default is TRUE.
it
A character vector of length 1 giving the image type to be used. Currently only
"tiff" and "jpeg" are admitted. Default is "jpeg".
res
Numeric argument of length 1. Controls image resolution.
Default is 100 (faster) although 300 - 400 is recommended for publication/
presentation quality.
labels
A logical argument defining whether dots depicting recording locations are labeled.
If TRUE then the Recording_ID is used as label.
path
Character string with the directory path where the image files will be saved.
If NULL (default) then the current working directory is used.
Ignored if img = FALSE.
Value
A map of 'Xeno-Canto' recordings per species (image file), or a faceted
plot of species map(s) in the active graphic device.
Details
This function creates maps for visualizing the geographic spread of recordings from the open-access
online repository Xeno-Canto. The function takes the output of
querxc as input. Maps can be displayed in the graphic devide or saved as images in the
working directory.
References
Araya-Salas, M., & Smith-Vidaurre, G. (2017). warbleR: An R package to streamline analysis of animal acoustic signals. Methods in Ecology and Evolution, 8(2), 184-191.
# NOT RUN {# search in xeno-cantoX <- querxc("Phaethornis anthophilus", download = FALSE)
#create image in R graphic devicexcmaps(X, img = FALSE)
# }# NOT RUN {# }