R/data.R

# Author: Jacob Nabe-Nielsen
# Licence GPL v3
# Documentation of data sets in DEPONS2R

# devtools::document()  # Make rd files based on roxygen comments.

#' @name  shipdata
#' @docType data
#' @title Hypothetical ships on  routes through Kattegat
#' @description The ship routes and ships used in the study by Nabe-Nielsen et
#' al. (2014). The fix points that define the routes use the UTM zone 32
#' projection, (EPSG:32632; see \url{https://epsg.io/32632}).
#'
#' The definitions of the ships has been modified since earlier versions of
#' DEPONS (i.e. 2.1 and erlier) in that it now includes ship length, type, and
#' speed (in knots). These are used for calculating the sound source level
#' (following McGilliwray)
#' @format DeponsShips
#' @seealso \code{\link{DeponsShips-class}}
#' @keywords datasets
#' @references
#' MacGillivray A & de Jong C (2021). A Reference Spectrum Model for Estimating
#' Source Levels of Marine Shipping Based on Automated Identification System
#' Data. J Mar Sci Eng 9:369 . \doi{10.3390/jmse9040369}
#'
#' Nabe-Nielsen, J., Sibly, R. M., Tougaard, J., Teilmann, J., &
#' Sveegaard, S. (2014). Effects of noise and by-catch on a Danish harbour
#' porpoise population. Ecological Modelling, 272, 242–251.
#' \doi{10.1016/j.ecolmodel.2013.09.025}
# data("shipdata")


#' @name  aisdata
#' @docType data
#' @title Position for three ships in the inner Danish waters
#' @description Automatic identification system (AIS) data for three ships
#' in Kattegat and the Western Baltic from 20 Dec 2015. The data set includes
#' the variables id (the Maritime Mobile Service Identity number), time,
#' speed (in knots), type, length (in meters), x and y (which provide the
#' coordinates of the ship at a given time. The coordinates use the UTM zone 32
#' projection (CRS = "+proj=utm +zone=32 +units=m +no_defs +datum=WGS84"). Data
#' were downloaded from the Danish Maritime Authority web page
#' (\url{https://dma.dk}).
#' @format data.frame
#' @keywords datasets
# data("aisdata")       # uncomment line to trigger roxygen


#' @name  bathymetry
#' @docType data
#' @title Bathymetry of the Kattegat area
#' @description The standard bathymetry file for Kattegat which is used in DEPONS
#' simulations. It is based on a raster file with 1000 rows and 600 columns
#' where each grid cell corresponds to 400 m x 400 m. Cells on land are
#' assigned a missing data value of -9999.
#'
#' The Kattegat landscapes use the UTM zone 32 projection, (EPSG:32632) as in
#' the study by Nabe-Nielsen et al (2014). The corresponding proj4string is
#' "+proj=utm +zone=32 +datum=WGS84 +units=m +no_defs"
#' (see \url{https://epsg.io/32632}).
#' @format DeponsRaster
#' @seealso \code{\link{DeponsRaster-class}}
#' @keywords datasets
#' @references Nabe-Nielsen, J., Sibly, R. M., Tougaard, J., Teilmann, J., &
#' Sveegaard, S. (2014). Effects of noise and by-catch on a Danish harbour
#' porpoise population. Ecological Modelling, 272, 242–251.
#' \doi{10.1016/j.ecolmodel.2013.09.025}
# data("bathymetry")       # uncomment line to trigger roxygen


#' @name coastline
#' @title Coastline of Northern Europe
#' @docType data
#' @description An object of class \code{\link[sp]{SpatialPolygonsDataFrame}} showing the
#' coastline of the North Sea, Kattegat, and the Western Baltic. The map projection
#' used is ETRS89 – EPSG:3035 projection as for the North Sea raster files used
#' by DEPONS. The corresponding proj4string is "+proj=laea +lat_0=52 +lon_0=10 +x_0=4321000
#' +y_0=3210000 +datum=WGS84 +units=m +no_defs".
#' @format SpatialPolygonsDataFrame
#' @keywords datasets
# data("coastline")


#' @name porpoisedyn
#' @title Simulated porpoise population dynamics
#' @docType data
#' @description An object of class \code{DeponsDyn} with output from a DEPONS
#' simulation based on the Kattegat landscape, assuming that the simulation
#' represents the period 2010-01-01 onward in the real world. Number of animals
#' and energy availability is recorded for the entire landscape.
#' @format DeponsDyn
#' @keywords datasets
#' @seealso \code{\link{DeponsDyn-class}} and \code{\link{porpoisebdyn}}.
# data("porpoisedyn")

#' @name porpoisebdyn
#' @title Simulated porpoise population dynamics
#' @docType data
#' @description An object of class \code{DeponsBlockdyn} with output from a DEPONS
#' simulation based on the North Sea landscape, using a landscape divided into
#' two blocks. Numbers of animals are counted per block.
#' @format DeponsBlockdyn
#' @keywords datasets
#' @seealso \code{\link{DeponsBlockdyn-class}}, \code{\link{porpoisedyn}}
# data("porpoisebdyn")


#' @name porpoisetrack
#' @title Simulated porpoise track
#' @docType data
#' @description An object with five elements: \code{title}, \code{landscape},
#' \code{simtime}, \code{crs}, and \code{tracks}. The \code{crs} stores information
#' about the map projection used ("+proj=utm +zone=32 +datum=WGS84 +units=m +no_defs").
#' The \code{tracks} element is a list of objects of class
#' \code{\link[sp]{SpatialPointsDataFrame}}, each ofwhich corresponds to one
#' simulated animal. \code{simtime} is the simulation date.
#' @format DeponsTrack
#' @keywords datasets
#' @seealso \code{\link{DeponsTrack-class}}. See
#' \code{\link[DEPONS2R]{plot.DeponsTrack}} for plotting of simulated tracks.
#data("porpoisetrack")
jacobnabe/DEPONS2R documentation built on Jan. 26, 2025, 9:33 a.m.