Skip to contents

Downloads the spatial layer of marine ecoregions of the World (MEOW) available on the WWF website (https://www.worldwildlife.org/publications/marine-ecoregions-of-the-world-a-bioregionalization-of-coastal-and-shelf-areas).

Usage

get_marine_ecoregions_layer(path = ".", overwrite = FALSE, timeout = 60, ...)

Arguments

path

a character of length 1. The path to the folder to save the spatial layer. Note that a subdirectory MEOW/ will be created.

overwrite

a logical. If TRUE it will override the existing files. Default is FALSE.

timeout

an integer. The timeout for downloading files. Default is 60. This number can be increased for slow Internet connection.

...

other arguments to pass to download.file() (e.g. headers).

Value

No return value. Files will be written in path.

References

Spalding MD et al. (2007) Marine Ecoregions of the World: A Bioregionalization of Coastal and Shelf Areas. BioScience, 57(7), 573-583. https://doi.org/10.1641/B570707.

Examples

if (FALSE) {
## Download marine ecoregions spatial layer ----
get_marine_ecoregions_layer(path = "data")
}