Learn R Programming

geodata (version 0.6-2)

bio_oracle: Marine data

Description

Marine data from Bio-Oracle

Usage

bio_oracle(path, var, stat, benthic=FALSE, 
		depth="Mean", time="Present", rcp, ...)

Value

SpatRaster

Arguments

path

character. Path for storing the downloaded data. See geodata_path

var

character. Variable of interest. One of 'Calcite', 'Chlorophyll', 'Cloud.cover', 'Current.Velocity', 'Diffuse.attenuation', 'Dissolved.oxygen', 'Ice.cover', 'Ice.thickness', 'Iron', 'Light.bottom', 'Nitrate', 'Par', 'pH', 'Phosphate', 'Phytoplankton', 'Primary.productivity', 'Salinity', 'Silicate', 'Temperature'

stat

character. Statistic of interest. One of 'Lt.max', 'Lt.min', 'Max', 'Mean', 'Min', 'Range'. It should be "" if var is "pH"

benthic

logical. If FALSE surface data are returned

depth

character. Either "Min", "Mean", or "Max". Only relevant if benthic is TRUE

time

character. Either "Present", "2150" or "2100"

rcp

character. Either "26", "45", "60", or "85"

...

additional arguments passed to download.file

References

Assis, J., Tyberghein, L., Bosh, S., Verbruggen, H., Serrão, E.A., & De Clerck, O. (2017). Bio-ORACLE v2.0: Extending marine data layers for bioclimatic modelling. Global Ecology and Biogeography 27: 277-284.

See Also

Examples

Run this code
# \donttest{
# this is a large download
x <- bio_oracle(path=tempdir(), "Salinity", "Max", 
		benthic=TRUE, depth="Mean", time="Present")
# }

Run the code above in your browser using DataLab