View source: R/read_distribution.R
read_distribution | R Documentation |
This function loads the SAU distribution of a taxon from DROBO. You have to be connected to the UBC network and have access to the CORU-DROBO in order to use the function. You can choose to return the data or just a map for visualization. Note that no user/id will be required but the path wont be found. Note that this function needs the CORU coordinate grid
read_distribution(taxon_key, root_path = NA, output = "plot", coords = FALSE)
taxon_key |
is the species to load as taxon key number. |
root_path |
Expects the root computer path before DROBO. Note: do not include / |
output |
"OPtions to return data or plot. Default to plot |
box |
Expects a vector with four values in the following order: low lat, high lat, low long and high long to load geographical specific data.. if FALSE it will load global database |
A data frame or a map showing the distribution of a specific taxa according to the Sea Around Us
#' @export
Juliano Palacios Abrantes | j.palacios@oceans.ubc.ca
Note needs coordinate system for running
output data
read_distribution(600004,output = "data",root_path = "/Volumes",coords = Lon_Lat_DBEM)
#' output plot
read_distribution(600004,output = "plot", root_path = "/Volumes",coords = Lon_Lat_DBEM)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.