get_csquare {icesVMS} | R Documentation |
Download C-square information
Description
Download a data.frame of information on a set of C-squares.
Usage
get_csquare(c_square, stat_rec, ices_area, ecoregion, convert2sf = FALSE)
Arguments
c_square |
character 0.05 degree c-square name |
stat_rec |
ICES statistical rectangle |
ices_area |
ICES area |
ecoregion |
ICES ecoregion |
convert2sf |
logical, default FALSE, should an simple features object
be returned if the |
Details
If the sf
package is installed then a simple features object
will be returned, if convert2sf flag is set to TRUE.
Value
a data.frame of VMS data
Examples
sq40F3 <- get_csquare(stat_rec = "40F3")
# if the sf package is installed, an simple feature object will be returned
NS <- get_csquare(ecoregion = "Greater North Sea", convert2sf = TRUE)
plot(NS["ices_area"], border = "transparent")
[Package icesVMS version 1.1.4 Index]