Learn R Programming

MazamaSpatialUtils (version 0.7.6)

convertEEZCountries: Convert Exclusive Economic Zones countries shapefile

Description

Create a SpatialPolygonsDataFrame for combined EEZ/country boundaries

Usage

convertEEZCountries(nameOnly = FALSE, simplify = TRUE)

Value

Name of the dataset being created.

Arguments

nameOnly

Logical specifying whether to only return the name without creating the file.

simplify

Logical specifying whether to create "_05", _02" and "_01" versions of the file that are simplified to 5%, 2% and 1%.

Details

A world EEZ/countries shapefile is converted to a SpatialPolygonsDataFrame with additional columns of data. To use this function, the file "EEZ_land_union_v3_202003.zip" must be downloaded into the user's spatial directory which is set with setSpatialDataDir(). The resulting file will be created in this same spatial data directory.

References

https://www.marineregions.org/sources.php#unioneezcountry

See Also

setSpatialDataDir