Skip to main content
Ecology and Evolution logoLink to Ecology and Evolution
. 2026 Aug 21;16(8):e74211. doi: 10.1002/ece3.74211

oceandatr: An R Package to Acquire and Process Geospatial Ocean Data

Jason Flower 1,2,3,, Echelle S Burns 1,2,3, Daniel C Dunn 4,5, Andy Estep 6, Jason D Everett 4,7,8, Jeffrey O Hanson 9, Sarah E Lester 10, Anthony J Richardson 4,7
PMCID: PMC13498701  PMID: 42632949

ABSTRACT

Maps and spatial models inform natural resource management and policy decisions. However, the geospatial data needed for these decisions are often scattered across websites and services, and typically require technical skills to download, process and analyze. The R programming language is widely used in environmental science, and while there are some R packages available for obtaining terrestrial geospatial data, those for marine data are limited to specific datasets. To fill this gap, we introduce the oceandatr R package, an interface that provides streamlined access to a suite of global ocean data. It provides functions for acquiring and processing many data sources—including bathymetry, geomorphology, ecological, and human use data—and returns these in several grid‐based formats. The gridded output data can be used directly in modeling, spatial analysis and spatial planning. While oceandatr accesses marine data, the functions for retrieving boundaries and gridding data can also be used in other contexts. We outline uses of oceandatr and present two case studies where we use oceandatr to access and process data for a spatial planning application and a spatial model of fishing effort. Oceandatr simplifies the process of geospatial analysis for marine researchers and spatial planners, reducing technical barriers and supporting evidence‐based decision making.

Keywords: conservation planning, geospatial data, gridded data, marine, ocean, R package


We introduce the oceandatr R package, an interface that provides functions for acquiring and processing marine data sources—including bathymetry, geomorphology, ecological, and human use data—and returns these in several grid‐based formats. We outline uses of oceandatr, such as modeling and spatial analysis, and present two case studies where oceandatr is used to acquire, process, and standardize data for a spatial planning and spatial modeling application.

graphic file with name ECE3-16-e74211-g003.webp

1. Introduction

Geospatial data—data with location information—are widely used to inform environmental management and policy decisions, particularly through modeling and mapping exercises. For example, remote sensing data can be paired with ground‐based observations to create terrestrial species distribution maps (Elith and Leathwick 2009a, 2009b). Similarly, global sea surface temperature data and other environmental variables are used in fisheries and marine ecosystem models (Tittensor et al. 2021; Vaihola and Kininmonth 2023), and bathymetry data are used to map geomorphological features on the seafloor (Harris et al. 2014; Yesson et al. 2021). In addition, stakeholder mapping exercises can capture local knowledge of habitat status and ocean uses (Flower et al. 2020; Yates and Schoeman 2013), but require contextual geospatial data—such as bathymetry, seamount locations, and physical and legal boundaries—to act as references.

Before geospatial data can be used in analyses or models, these data must be acquired, processed and standardized (McCarthy et al. 2021). Finding data can be challenging because geospatial data are often scattered across many websites and databases. Acquiring data for a particular area of interest often requires technical skills, such as a knowledge of query languages (e.g., SQL) and database structures. Finally, geospatial data often need to be collated and harmonized to conform to the same spatial units (e.g., spatial grid, point localities of interest, or irregular spatial boundaries) for subsequent analysis, requiring additional geospatial data processing expertise. Although a diverse ecosystem of software has been developed to help with processing geospatial data (e.g., ArcGIS, QGIS, GDAL), the R statistical computing environment (R Core Team 2025) is widely used in the natural and environmental sciences (Lai et al. 2019) and is being rapidly expanded to increase its geospatial processing and visualization capabilities (Lovelace et al. 2025).

Over 20,000 packages are available on the Comprehensive R Archive Network (CRAN 2026) to extend the functionality of the R statistical computing environment. Many of these are designed specifically for geospatial data manipulation (Bivand et al. 2025), such as the sf (Pebesma 2018) and terra (Hijmans 2025) packages that are widely used for handling vector and raster data. In addition, there are packages that allow for acquisition of specific types of geospatial data, such as geoData, principally for terrestrial data (Hijmans et al. 2024), mregions2 for maritime boundaries (Fernandez‐Bejarano and Pohl 2023), and biooracler for marine biophysical data (Assis et al. 2024; Fernandez 2024). However, there are currently no R packages, to our knowledge, that provide access to a broad range of marine geospatial datasets and provide functions for processing and standardizing these data.

Here, we fill this critical gap, introducing the oceandatr R package for simplifying the process of acquiring, processing, standardizing, and analyzing marine data. The package provides functions for acquiring many widely used marine datasets, including bathymetry, seamounts, and biophysical data. Additionally, the package provides users with the flexibility to grid and standardize their own data, and classification methods to facilitate visualization and further analyses. Although oceandatr is marine focused, its functions to retrieve boundaries, create a custom spatial grid, and aggregate data at the grid level can be applied to terrestrial data. We discuss how the package could provide novel support for various research and management applications, and we offer guidance on how it can be used in conjunction with other R packages. Lastly, we provide case studies where oceandatr is used to acquire, grid, and classify data for subsequent use in spatial planning and in a spatial fisheries model.

2. Package Specification

The oceandatr R package (hereafter, the package) extends the functionality of the R statistical computing environment (R Core Team 2025). The package is designed to be compatible with the existing ecosystem of R packages for processing spatial data and supports the two primary types of geospatial data: raster data in the SpatRaster format of the terra R package (Hijmans 2025) and vector data in sf (Pebesma 2018) format. Details of how to install the package can be found on GitHub where the package is hosted (https://github.com/emlab‐ucsb/oceandatr). The website also contains vignettes demonstrating uses of the package and detailed help pages for each function.

2.1. Workflow

The package has three general functions that: (1) obtain a boundary for an area of interest, (2) create a grid and (3) transfer data into the grid (Figure 1). In addition to these three functions, it has several functions designed to obtain specific datasets (see Section 2.2). The general workflow involves using the function get_boundary() to obtain a boundary for the area of interest, such as a country, ocean, or a country's exclusive economic zone (EEZ). To achieve this, the get_boundary() function uses the rnaturalearth R package (Massicotte and South 2023) to retrieve land boundaries, and the mrp_get() function from the mregions2 R package (Fernandez‐Bejarano and Pohl 2023) to obtain marine boundaries. The advantage of using the oceandatr function for retrieving boundary data is that it provides a single function for retrieving both terrestrial and marine boundaries (a capability not currently available in other packages), and the get_boundary() function is simpler to use than the mregions2 functions, which require the user to write a Contextual Query Language filter to select the country or area they want. The boundary can then be used with the get_grid() function to create a grid for the area with a specified resolution, coordinate reference system and format. Grids can be created in vector or raster format and can be composed of squares (for raster or vector formats) or hexagons (for vector format). Finally, the get_data_in_grid() function is used to transfer vector or raster data into the specified grid. The grid and data supplied to get_data_in_grid() can be in different coordinate reference systems, can cross the antimeridian, and can be any combination of raster or vector format. This flexibility is a key strength of the package since data from different sources are often in different formats and poor decisions concerning the spatial transformation and gridding process can result in distorted and inaccurate data. By using the package, users can ensure they have a reproducible and precise approach to processing and standardizing geospatial data.

FIGURE 1.

FIGURE 1

Example usage of the oceandatr R package for the Pacific island of Samoa: The EEZ boundary is acquired using the get_boundary() function, then a raster grid at a resolution of 10,000 m (10 km × 10 km) covering the EEZ is created using the get_grid() function, and data on the distribution of oceanic ridges is placed into that grid using the get_data_in_grid() function.

2.2. Data Access

The package provides access to a wide range of geospatial data for the marine environment, including bathymetry and geomorphology; ecoregions and ecology; and human use data (Table 1). To minimize file size downloads, data are downloaded—where possible—in spatial subsets from public servers based on the area of interest. As some data are only available for download as a single, global dataset (i.e., the global seamounts, knolls, coral habitat and geomorphology data), these data are housed in a separate data package, oceandatrsets, purpose built to store such data (Flower 2026). This separate data package is automatically installed when installing the oceandatr package, and keeping the large datasets separate from the package functions avoids having to re‐download them each time oceandatr is updated.

TABLE 1.

Data accessible through the oceandatr package, the function used to access them, and a brief description of the data.

Data Description Function Source Relevance to spatial modeling and planning
Bathymetry Global ocean bathymetry data get_bathymetry() GEBCO 2026 global terrain model (GEBCO Bathymetric Compilation Group 2026) or user provided Species distributions are strongly depth dependent (Brown and Thatje 2014; Ready et al. 2010)
Depth zones Ocean depths classified into 5 depth zones:
  • Continental shelf: 0–200 m depth

  • Upper bathyal: 200–800 m depth

  • Lower bathyal: 800–3500 m depth

  • Abyssal: 3500–6500 m depth

  • Hadal: > 6500 m depth

get_bathymetry(classify_bathymetry = TRUE) GEBCO 2026 global terrain model (GEBCO Bathymetric Compilation Group 2026) or user provided. Classification done by package Depth zones contain different pelagic and benthic habitats (Costello 2009; Vinogradov 1997)
Geomorphology Global geomorphological features: abyssal hills, abyssal plains, basins, bridges, canyons, escarpments, fans, glacial troughs, guyots, plateaus, ridges, rift valleys, rises, shelf valleys, sills, spreading ridges, terraces, trenches, and troughs get_geomorphology() www.bluehabitats.org (Harris et al. 2014) Feature types represent distinct seafloor habitats that are proxies for biodiversity (Ceccarelli et al. 2021)
Seamounts Global distribution of seamount peaks get_seamounts(raw = TRUE) Yesson et al. (2021) Seamounts are known to be biodiversity hotspots (Morato et al. 2010; Rowden et al. 2010)
Seamount peaks buffered Seamount point locations buffered to a defined distance, i.e., a circle is drawn around each seamount peak get_seamounts(buffer = …) Yesson et al. (2021) Morato et al. (2010) found higher biodiversity within 30–40 km of seamounts
Knolls Global distribution of knolls (base areas). Knolls are small seamounts, < 1000 m but > 200 m above the seafloor (full definition in Morato et al. (2008)) get_knolls() Yesson et al. (2011) Knolls, as small seamount‐like features, are also likely to host elevated biodiversity relative to surrounding areas
Coral habitat Predicted ranges of: Antipatharia (black coral), octocorals, and Scleractinia (cold‐water corals) from 3 global distribution datasets get_coral_habitat() Davies and Guinotte (2011); Yesson et al. (2012, 2017) Species are vulnerable to damage and are habitat for other species including commercially important fish (Davies and Guinotte 2011; Yesson et al. 2012)
Environmental zones Environmental zones generated using sea surface data from Bio‐Oracle: chlorophyll concentration (mean), dissolved oxygen concentration (mean), nitrate concentration (mean), pH (mean), phosphate concentration (mean), total phytoplankton (mean), salinity (mean), sea surface temperature (mean, min, and max), and silicate concentration (mean) get_enviro_zones() Bio‐Oracle data: www.bio‐oracle.org (Assis et al. 2018, 2024). Accessed via the biooracler package (Fernandez 2024) Zones are proxies for different pelagic species assemblages (Magris et al. 2021)
Ecoregions Global marine ecoregion classifications:
  • Marine ecoregions of the world (Spalding et al. 2007)

  • Longhurst biogeographical provinces (Longhurst 2007)

  • Large marine ecosystems (LMEs) (Sherman and Alexander 1986)

  • Mesopelagic ecoregions (Sutton et al. 2017)

get_ecoregion() Data accessed via the mregions2 R package (Fernandez‐Bejarano and Pohl 2023) Ecoregions are commonly used in large‐scale spatial planning to ensure representation of biodiversity (Brito‐Morales et al. 2022; Ceccarelli et al. 2021)
Distance from shore, port or anchorage Distance from shore, port or anchorage for each grid cell get_dist() Calculated using shore from Natural Earth (Natural Earth 2024), ports from World Port Index (National Geospatial‐Intelligence Agency 2024) and anchorages from Global Fishing Watch (Global Fishing Watch 2022) Distance from shore can be used as a proxy for fishing effort (Caddy and Carocci 1999) for small‐scale, nearshore fishing
Fishing effort Mean total annual fishing effort (hours) get_gfw() Global Fishing Watch (Kroodsma et al. 2018) Used as an opportunity cost in spatial planning to avoid excessive fisheries impact (Chollett et al. 2022)

Most of the data oceandatr provides access to have global coverage and can be used at a range of spatial scales, from global to country level, for modeling and spatial planning. However, much of the data that the package provides direct access to may not be ideal for analyses at finer spatial scales, such as spatial planning in coastal environments. In these cases, higher‐resolution local data, where available, might be more appropriate. Any spatial data, regardless of whether it was accessed via the package, provided by local experts, or found online, can be prepared using the get_data_in_grid() function.

All functions for obtaining data require the user to provide either a spatial grid, in raster or vector format, or a polygon for the area of interest, and can return either gridded data or data within the polygon. The advantage of using the package to obtain data within a user‐provided polygon is that it handles the transformation between coordinate reference systems and can also return data for polygons that cross the antimeridian, a process that can be confusing and potentially lead to problems with the data if not done correctly. If the requested gridded data has multiple data classes (e.g., depth zones in the ocean), a multi‐layer raster will be returned with each class as a separate layer. Conversely, if the grid is in vector format, each class will be a column in the associated data frame. Some functions have further arguments to specify the classification of data, their source, and whether the area of interest crosses the antimeridian. In the following sections, we provide greater detail on the data that can be accessed through the package.

2.2.1. Bathymetric and Geomorphological Data

Bathymetry and geomorphology are widely used in modeling and spatial planning in the marine environment (Brito‐Morales et al. 2022; Harris et al. 2014; McQuaid et al. 2023). Bathymetry data can be retrieved using the get_bathymetry() function, and automated routines are available for classifying these data into five commonly used ocean depth zones: continental shelf (0–200 m depth), upper bathyal (200–800 m), lower bathyal (800–3500 m), abyssal (3500–6500 m), and hadal (> 6500 m). By default, these data are retrieved from the GEBCO 2026 global terrain model (GEBCO Bathymetric Compilation Group 2026) hosted at the Natural Environment Research Council's Centre for Environmental Data Analysis (CEDA), allowing access to the latest bathymetry data, a functionality not currently offered by other R packages. To allow downloading of larger‐than‐memory files, the data are downloaded in chunks that are saved sequentially to a single file on the user's hard drive, which is an important capability given the potentially large size of the downloads. Alternatively, get_bathymetry() provides the option for the user to specify a local raster file as the source of the bathymetry data, which is useful in cases where local datasets with higher accuracy and resolution are available or the CEDA server is unavailable.

The package has multiple functions to retrieve geomorphological data (Table 1). For instance, the get_geomorphology() function returns data from the global seafloor geomorphic features map (Harris et al. 2014). We also include specific functions to access data for seamounts and knolls (smaller seamounts) since these features are known to attract and aggregate biodiversity (Morato et al. 2010; Rowden et al. 2010) and are commonly a key feature for spatial plans (Brito‐Morales et al. 2022; Government of Bermuda and Bermuda Ocean Prosperity Programme 2024). The get_seamounts() function provides access to a global seamount dataset (Yesson et al. 2021), while get_knolls() can retrieve data on the area of knolls at their base (Yesson et al. 2011). The seamount dataset contains only the peaks of the seamounts (a single point). However, for spatial planning or modeling at local scales, it is useful to define an area around the seamount peak where biodiversity is expected to be higher than the surrounding ocean (Morato et al. 2010). This functionality is available via a “buffer” parameter, whereby the area within a specified radius of the seamount peak is included in the returned polygon or raster. Although the buffer radius can be defined by the user, a 30–40 km buffer radius is recommended as a default value (Morato et al. 2010).

2.2.2. Ecoregions and Ecological Data

Ecoregions are commonly used in spatial planning and modeling to delineate areas of differing environmental conditions (Brito‐Morales et al. 2022; Sala et al. 2021), under the assumption that different conditions support different biological communities. We provide access to four commonly used global ecoregional classification schemes via the get_ecoregion() function: marine ecoregions of the world (Spalding et al. 2007); the Longhurst biogeographical provinces (Longhurst 2007); Large Marine Ecosystems (Sherman and Alexander 1986); and mesopelagic ecoregions of the world (Sutton et al. 2017). These data are from the Marine Regions database (https://www.marineregions.org).

Although global ecoregion data are useful at larger scales, regional classifications are likely to be more valuable for planning and modeling at a national scale. The package allows the user to create their own ecoregionalisation, which can be used to delineate environmental zones (i.e., zones based on physical and chemical data). Building on an approach used in Magris et al. (2021), the zones are created using global ocean environmental data from Bio‐Oracle for 11 variables, including sea surface temperature (minimum, maximum and mean), pH and chlorophyll concentration (Assis et al. 2024; Tyberghein et al. 2012). These data are clustered using a kmeans clustering algorithm and the optimal number of clusters is estimated using the NbClust R package (Charrad et al. 2014), but can also be specified by the user. Each cluster represents a unique environmental ‘zone’. Both the raw environmental data and the clustered environmental zones can be retrieved using the get_enviro_zones() function.

The package can also access output from a limited number of species distribution models (SDMs) or habitat suitability models that predict the spatial distribution of species of interest. These models are commonly used in spatial planning as biodiversity layers to inform which areas to protect. While global SDMs for marine species exist (O'Hara et al. 2017), these require manual download for each species and cannot be included in the package due to usage restrictions and file size constraints. However, global cold water coral habitat suitability maps can be accessed for the species groups Antipatharia (Yesson et al. 2017), octocorals (Yesson et al. 2012) and Sclerarctinia (Davies and Guinotte 2011) using the get_coral_habitat() function. For inclusion in spatial planning, it is common to convert habitat suitability values to presence‐absence format. The original Scleractinia data are made available in presence‐absence format, while the habitat suitability values for Antipatharia are converted to presence‐absence by the package using the threshold value proposed by the dataset authors (Yesson et al. 2017), and octocorals are considered present in cells where at least 2 octocoral suborders are present (range of values: 0–7), though these thresholds can be changed by the user.

2.2.3. Human Use

Data on human use of the ocean is used extensively in spatial planning and fisheries and ecosystem models (Frawley et al. 2022; Lotze et al. 2019; Sala et al. 2021). In spatial planning, maps of fishing intensity often serve as a proxy for the opportunity cost of marine protection (Chollett et al. 2022). A widely used source of these data is Global Fishing Watch (GFW), which provides global data on apparent fishing effort (hours of fishing) at hourly, 0.01° resolution based on automatic identification system (AIS) data, a satellite tracking system for large vessels (Kroodsma et al. 2018). The gfwr R package allows access to many GFW data products via an API key (Clavelle et al. 2024), but fishing effort data can only be obtained for a single year per query. The get_gfw() function in oceandatr obtains GFW fishing effort data for multiple years and allows users to sum or average the data across selected years, but still requires an API key, which can be created for free on the GFW website (https://globalfishingwatch.org).

Only larger, industrial‐scale vessels are required to use AIS, and thus these data may not reflect fishing effort in areas where fishing is mainly by small, nearshore fishing vessels. In these cases, users could import other sources of fishing effort data if available. If no such data are available, distance to port or shore may be a reasonable proxy for fishing effort (Caddy and Carocci 1999). The get_dist() function can be used to get gridded distance from ports, anchorages, or shore. Port data are downloaded directly from the World Port Index, which is updated monthly (National Geospatial‐Intelligence Agency 2024), and the distance to shore is calculated from the Natural Earth country boundaries layer (Natural Earth 2024). Anchorages are from GFW, which includes > 167,000 geospatial points (Global Fishing Watch 2022). As calculating distance from ports and anchorages to each grid cell is computationally expensive, oceandatr provides two derived datasets. One groups anchorages with the same name into a single point, which is then assigned the mean longitude and latitude coordinates from the aggregated points. The second takes this aggregated dataset and removes anchorages that fall within land boundaries of countries, as defined by Natural Earth data (Natural Earth 2024), such as ports on rivers, assuming that users of the package will be principally interested in distance to coastal ports.

3. Package Usage

The package can acquire and process bathymetric, biophysical, and geomorphology data that are suitable for use in multiple modeling, mapping, and spatial planning contexts (Table 2). For example, data acquired using the package could be used to model fishing fleet behavior and effort distribution (see Section 3.2) or model species distributions in conjunction with observation data. Furthermore, all data acquired via the package are suitable for use in marine spatial planning using prioritization tools, such as the prioritizr R package (see Section 3.1). Data can also be used for site selection in industry applications, such as aquaculture and renewable energy, and for mapping for stakeholder engagement processes. More broadly, the sf vector data and SpatRaster raster data formats used as inputs and outputs by the package functions are widely used and can therefore be easily integrated into other spatial data processing and analysis workflows.

TABLE 2.

Example usage of the package, and how it could complement existing R packages in data analysis.

Use case How oceandatr can be used Other R packages that could aid analysis
Species distribution models Retrieve gridded data to use as predictors of species presence or abundance robis (Provoost et al. 2022) and rgbif (Chamberlain et al. 2025) for accessing species occurrence data. ENMeval (Kass et al. 2021) for model fitting and tuning, inlabru (Bachl et al. 2019) for Bayesian spatial modeling
Fishing vessel behavior models Retrieve gridded physical and environmental data to be used as explanatory variables and fisheries data as a response variable sdmpredictors (Bosch and Fernandez 2023) enables download of additional environmental data. mgcv (Wood 2017) for modeling
Spatial planning: conservation planning Retrieve gridded and classified data that can be used as inputs in a spatial prioritization prioritizr (Hanson et al. 2025) for running a spatial prioritization
Spatial planning: site selection for aquaculture, marine renewable energy, and other industries Retrieve data used in geospatial analysis such as multi‐criteria evaluation models ipdw (Stachelek 2023) for interpolating point data into raster layers
Stakeholder consultation and participatory mapping Retrieve data for use in maps that can aid stakeholder discussions about MSP tmap (Tennekes 2018) and ggplot (Wickham 2016) for creating maps. Shiny (Chang et al. 2025) for interactive web applications

3.1. Case Study: Spatial Conservation Planning

The following case study illustrates the use of the package to acquire and process geospatial data that is then used directly to identify priority areas for protection. This type of conservation planning exercise requires several inputs: a planning region (area of interest), features of interest (e.g., species or habitats) that can be conserved by selecting planning units (spatial units within the planning region), cost data for each planning unit, and a target amount of each feature to conserve within selected planning units (Ardron et al. 2010). The cost data can be the economic cost of protecting a planning unit (e.g., money required to buy spatial area delineated by the planning unit), but in many contexts, especially ocean planning, opportunity cost is used, i.e., the value of each planning unit to fisheries assuming fishing would be prohibited in protected locations. After assembling these data, they can be input into a conservation planning decision support tool, such as the prioritizr R package (Hanson et al. 2025) and, in turn, used to identify priority areas for protection or implementation of conservation management actions.

To demonstrate the utility of oceandatr in a conservation planning workflow, we use a high seas area of the Pacific Ocean as a case study (Figure 2). We created the polygon for the planning region using the get_boundary() function to obtain all high seas areas and then cropped the polygon to the part of the Pacific of interest (~0°–6°N and 135°–155°E, Figure 2). Next, we used the get_grid() function to create a spatial grid (comprising 10 km × 10 km grid cells) to serve as planning units for the case study. The spatial grid was then passed to the get_features() function which calls each of the separate functions to obtain data on bathymetry, geomorphology, buffered seamount peaks, knolls, coral habitat and environmental zones, and returns a multi‐layer raster or multi‐attribute vector. We used apparent fishing effort as the cost, using the get_gfw() function to obtain the total annual fishing effort for 2022. Another option would be to use distance from shore or port through the get_dist() function, with the assumption that areas closer to the coast or port have greater fishing effort since they are more easily accessible. On an Intel Core i7‐8700T CPU@2.40GHz Desktop PC with 6 cores and 16GB of memory, the data retrieval and processing workflow using oceandatr took 2 min and 16 s, resulting in a total of 19 raster layers with 8142 cells (planning units). The elapsed time will vary depending on internet connection speed, computer processing power, and the resolution of the data created.

FIGURE 2.

FIGURE 2

Workflow for using the oceandatr package to acquire and process data (blue boxes) to generate a prioritization with the prioritizr package (gray box). The workflow has five stages: (i) defining the planning region, (ii) generating planning units, (iii) generating feature data, (iv) generating cost data, and (v) generating a prioritization. Each box denotes a stage of the workflow, and maps are the output from each stage. Blue text boxes show the oceandatr functions associated with each stage. Depth data shown in the map of the planning region is from the GEBCO 2026 global terrain model (GEBCO Bathymetric Compilation Group 2026) accessed using the get_bathymetry() function in oceandatr.

The data obtained using oceandatr can be used directly in prioritizr and other spatial prioritization tools such as Marxan (Ball et al. 2009) and Zonation (Moilanen et al. 2009). For this example, we used targets of 20% of the area for each feature to conserve, although any target between 0 and 100% can be used, and prioritizr yields a solution (the priority areas for protection; Figure 2). The same workflow can be used to quickly and simply create a spatial prioritization for any ocean area. Data that are not part of the oceandatr package can be prepared for prioritization using the get_data_in_grid() function. This function intersects planning units with the provided data, automatically projecting data into the desired coordinate reference system, and could be used for data preparation for terrestrial and freshwater spatial prioritization contexts.

3.2. Case Study: Modeling Fishing Effort

This case study demonstrates the use of oceandatr to obtain and standardize human use and environmental data for modeling fishing effort. Numerous factors drive the behavior of fishing fleets and where they allocate fishing effort, including weather conditions (Lehodey et al. 2006), distance from port (Caddy and Carocci 1999), and the distribution and abundance of the target species. Understanding the relationship between physical and environmental factors and fishing effort is important for resource management (Vaihola and Kininmonth 2023). There are many models and modeling frameworks available, but in this example we use a Generalized Additive Model (GAM), which accommodates non‐linear environmental relationships and inherent spatial autocorrelation and is widely used for spatial modeling in fisheries contexts (Mugo et al. 2010; Stock et al. 2020; Vaihola and Kininmonth 2023).

The workflow was similar to that in the first case study ( 3.1 Case study: Spatial Conservation Planning). Spatial boundaries for the area of interest were obtained using the get_boundary() function, a spatial grid was created using get_grid(), and data were obtained using relevant functions (e.g., get_bathymetry and get_enviro_zones()). We chose the Federated States of Micronesia (FSM) as the area of interest, because it has extensive Global Fishing Watch fishing effort data available for its exclusive economic zone (EEZ). The EEZ boundary was obtained using get_boundary(“Micronesia”), and the get_grid() function was used to create a spatial grid (comprising 10 km x 10 km grid cells) for all the model data. We downloaded and standardized all data needed for the modeling process using: get_gfw() to obtain mean annual fishing effort for 2024–2025 from Global Fishing Watch, get_bathymetry() and get_dist() to obtain seafloor depth and distance from port respectively, and get_enviro_zones() with the argument enviro_zones = FALSE to obtain sea surface environmental data, including mean temperature, pH and chlorophyll‐a concentration. The environmental data were subset to only the mean sea surface temperature (SST) and dissolved oxygen concentration data because these influence tuna distributions (Vaihola and Kininmonth 2023) which is the principal target species for fishing fleets in the FSM (Bell et al. 2021). All data were then combined into a single, multi‐layer raster (Figure 3), and converted to a dataframe ready for the GAM.

FIGURE 3.

FIGURE 3

Spatial data for the Federated States of Micronesia's EEZ used in the Generalized Additive Model. Mean fishing effort is the response variable, while seafloor depth, distance to port, mean temperature, and dissolved oxygen are the predictors. All data were obtained and gridded using oceandatr functions.

We created a GAM using the gam() function in the package mgcv (Wood 2017). Predictor variables (seafloor depth, distance to port, SST and dissolved oxygen) were modeled using penalized thin‐plate regression splines, while a geographic Gaussian process smoother was integrated to account for spatial dependency across the spatial grid. The model was fitted via Restricted Maximum Likelihood (REML) estimation using the log+1 transformed response (fishing effort) variable to address data skewness and stabilize residual variance, and we used a normal error structure. We fitted only a single GAM with the four predictor variables because this case study was intended to demonstrate the functionality of oceandatr, although we acknowledge that a more rigorous modeling process would include variable selection procedures (e.g., via the MuMIn package, Bartoń 2026). The resulting model successfully captured the spatial distribution of fishing effort (adjusted R 2 = 0.49) and all predictor variables had highly significant, non‐linear effects (p < 0.001). We used the predict.gam() function from the mgcv package to predict fishing effort in FSM to visually compare the Global Fishing Watch fishing effort data with fishing effort predicted by the GAM (Figure 4).

FIGURE 4.

FIGURE 4

Comparison of GAM predictions of fishing effort to fishing effort data from Global Fishing Watch that was the model response variable.

The case study illustrates the ease with which spatial modeling can be done using oceandatr to obtain standardized data ready for the modeling process. The code to repeat the workflow outlined here is available on the oceandatr website as a vignette (https://emlab‐ucsb.github.io/oceandatr/articles/fishing_prediction.html).

4. Conclusion

Acquiring, processing and standardizing geospatial data requires technical skills and considerable time. The oceandatr R package helps lower the barrier to entry for ocean‐focused geospatial work by providing a single package to acquire and process many widely used datasets. Processed data is stored in the SpatRast format of the terra R package (Hijmans 2025); and vector data in sf (Pebesma 2018) format, facilitating mapping or further spatial analysis. We recognize that in many cases, data that are not directly accessible via oceandatr might be required. The get_data_in_grid() function is designed for these cases since it can process arbitrary spatial data. Along with the get_boundary() and get_grid() functions, get_data_in_grid() can be used in any spatial context, not just for the marine environment.

While some of the data that oceandatr provides access to are available through other R packages or direct download from websites, oceandatr provides a single access point for many of the most commonly used marine datasets. In addition, the functions provide a simpler interface to some of the datasets than existing packages. The oceandatr package is also the only R package, to our knowledge, providing direct download of spatial subsets of the latest global terrain model (GEBCO Bathymetric Compilation Group 2026), which is widely used in marine data analysis.

We have focused on providing access to data commonly used in marine spatial analysis, such as bathymetry, geomorphology, and fishing data. While there are several other datasets that are widely used, oceandatr is restricted to data that are open access and can be easily downloaded from the internet or are small enough to be included within the associated oceandatrsets data package (Flower 2026). These criteria currently exclude the IUCN (IUCN 2024) and Aquamaps (Kaschner et al. 2019) species distribution maps, which are widely used in spatial planning, because both ask users to contact the data authors before use. However, once obtained, these data can be processed for modeling or planning work using the get_data_in_grid() function.

The oceandatr package is currently being used by the authors in marine spatial planning contexts to rapidly and reproducibly obtain standardized data for spatial prioritization, as exemplified in the first case study. The package will therefore be continuously improved to increase the number of datasets directly accessible, improve data processing efficiency, and add further documentation.

Author Contributions

Jason Flower: conceptualization (lead), data curation (lead), funding acquisition (lead), methodology (lead), software (lead), supervision (lead), writing – original draft (lead), writing – review and editing (lead). Echelle S. Burns: data curation (supporting), methodology (supporting), software (supporting), writing – original draft (supporting), writing – review and editing (supporting). Daniel C. Dunn: funding acquisition (supporting), methodology (supporting), writing – original draft (supporting), writing – review and editing (supporting). Andy Estep: conceptualization (supporting), funding acquisition (supporting), writing – original draft (supporting). Jason D. Everett: methodology (supporting), software (supporting), writing – original draft (supporting), writing – review and editing (supporting). Jeffrey O. Hanson: methodology (supporting), writing – original draft (supporting), writing – review and editing (supporting). Sarah E. Lester: funding acquisition (supporting), methodology (supporting), supervision (supporting), writing – original draft (supporting), writing – review and editing (supporting). Anthony J. Richardson: funding acquisition (supporting), writing – original draft (supporting), writing – review and editing (supporting).

Funding

This work was funded by the Waitt Foundation.

Conflicts of Interest

The authors declare no conflicts of interest.

Acknowledgments

We thank two anonymous reviewers for their constructive comments.

Data Availability Statement

The oceandatr package is freely available from Github: https://github.com/emlab‐ucsb/oceandatr. The associated website (https://emlab‐ucsb.github.io/oceandatr/) has several tutorials, including the two case studies in this paper. A released and archived version of the package, used in the preparation of this paper, is available on Zenodo: https://doi.org/10.5281/zenodo.21149583. The associated data package, oceandatrsets, is also available on Github: https://github.com/emlab‐ucsb/oceandatrsets.

References

  1. Ardron, J. A. , Possingham H. P., and Klein C. J., eds. 2010. Marxan Good Practices Handbook, Version 2. Pacific Marine Analysis and Research Association. https://pacmara.org/wp‐content/uploads/2010/07/Marxan‐Good‐Practices‐Handbook‐v2‐2010.pdf. [Google Scholar]
  2. Assis, J. , Fernández Bejarano S. J., Salazar V. W., et al. 2024. “Bio‐ORACLE v3.0. Pushing Marine Data Layers to the CMIP6 Earth System Models of Climate Change Research.” Global Ecology and Biogeography 33, no. 4: e13813. 10.1111/geb.13813. [DOI] [Google Scholar]
  3. Assis, J. , Tyberghein L., Bosch S., Verbruggen H., Serrão E. A., and Clerck O. D.. 2018. “Bio‐ORACLE v2.0: Extending Marine Data Layers for Bioclimatic Modelling.” Global Ecology and Biogeography 27, no. 3: 277–284. 10.1111/geb.12693. [DOI] [Google Scholar]
  4. Bachl, F. E. , Lindgren F., Borchers D. L., and Illian J. B.. 2019. “Inlabru: An R Package for Bayesian Spatial Modelling From Ecological Survey Data.” Methods in Ecology and Evolution 10, no. 6: 760–766. 10.1111/2041-210X.13168. [DOI] [Google Scholar]
  5. Ball, I. R. , Possingham H. P., and Watts M.. 2009. “Marxan and Relatives: Software for Spatial Conservation Prioritisation.” In Spatial Conservation Prioritisation: Quantitative Methods and Computational Tools, 185–195. Oxford University Press. [Google Scholar]
  6. Bartoń, K. 2026. “MuMIn: Multi‐Model Inference.” 10.32614/CRAN.package.MuMIn. [DOI]
  7. Bell, J. D. , Senina I., Adams T., et al. 2021. “Pathways to Sustaining Tuna‐Dependent Pacific Island Economies During Climate Change.” Nature Sustainability 4, no. 10: 900–910. 10.1038/s41893-021-00745-z. [DOI] [Google Scholar]
  8. Bivand, R. , Nowosad J., and Dyba K.. 2025. CRAN Task View: Analysis of Spatial Data Comprehensive R Archive Network (CRAN). https://CRAN.R‐project.org/view=Spatial.
  9. Bosch, S. , and Fernandez S.. 2023. “sdmpredictors: Species Distribution Modelling Predictor Datasets [Computer Software].” http://lifewatch.github.io/sdmpredictors/.
  10. Brito‐Morales, I. , Schoeman D. S., Everett J. D., et al. 2022. “Towards Climate‐Smart, Three‐Dimensional Protected Areas for Biodiversity Conservation in the High Seas.” Nature Climate Change 12, no. 4: 402–407. 10.1038/s41558-022-01323-7. [DOI] [Google Scholar]
  11. Brown, A. , and Thatje S.. 2014. “Explaining Bathymetric Diversity Patterns in Marine Benthic Invertebrates and Demersal Fishes: Physiological Contributions to Adaptation of Life at Depth.” Biological Reviews 89, no. 2: 406–426. 10.1111/brv.12061. [DOI] [PMC free article] [PubMed] [Google Scholar]
  12. Caddy, J. F. , and Carocci F.. 1999. “The Spatial Allocation of Fishing Intensity by Port‐Based Inshore Fleets: A GIS Application.” ICES Journal of Marine Science 56, no. 3: 388–403. 10.1006/jmsc.1999.0477. [DOI] [Google Scholar]
  13. Ceccarelli, D. M. , Davey K., Jones G. P., et al. 2021. “How to Meet New Global Targets in the Offshore Realms: Biophysical Guidelines for Offshore Networks of no‐Take Marine Protected Areas.” Frontiers in Marine Science 8: 634574. 10.3389/fmars.2021.634574. [DOI] [Google Scholar]
  14. Chamberlain, S. , Barve V., Mcglinn D., et al. 2025. “rgbif: Interface to the Global Biodiversity Information Facility API [Computer Software].” https://CRAN.R‐project.org/package=rgbif.
  15. Chang, W. , Cheng J., Allaire J. J., et al. 2025. “shiny: Web Application Framework for R [Computer Software].” 10.32614/CRAN.package.shiny. [DOI]
  16. Charrad, M. , Ghazzali N., Boiteau V., and Niknafs A.. 2014. “NbClust: An R Package for Determining the Relevant Number of Clusters in a Data Set.” Journal of Statistical Software 61, no. 6: 1–36. 10.18637/jss.v061.i06. [DOI] [Google Scholar]
  17. Chollett, I. , Perruso L., and O'Farrell S.. 2022. “Toward a Better Use of Fisheries Data in Spatial Planning.” Fish and Fisheries 23, no. 5: 1136–1149. 10.1111/faf.12674. [DOI] [Google Scholar]
  18. Clavelle, T. , Joo R., Miller N., and Sánchez‐Tapia A.. 2024. “gfwr: Interactions With GFW APIs Providing Data Tibbles [Computer Software].” https://github.com/GlobalFishingWatch/gfwr.
  19. Costello, M. 2009. “Distinguishing Marine Habitat Classification Concepts for Ecological Data Management.” Marine Ecology Progress Series 397: 253–268. 10.3354/meps08317. [DOI] [Google Scholar]
  20. CRAN . 2026. “The Comprehensive R Archive Network.” https://cran.r‐project.org/.
  21. Davies, A. J. , and Guinotte J. M.. 2011. “Global Habitat Suitability for Framework‐Forming Cold‐Water Corals.” PLoS One 6, no. 4: e18483. 10.1371/journal.pone.0018483. [DOI] [PMC free article] [PubMed] [Google Scholar]
  22. Elith, J. , and Leathwick J.. 2009a. “The Constribution of Species Distribution Modelling to Conservation Prioritization.” In Spatial Conservation Prioritization, edited by Moilanen A., Wilson K. A., and Possingham H. P.. Oxford University Press. [Google Scholar]
  23. Elith, J. , and Leathwick J. R.. 2009b. “Species Distribution Models: Ecological Explanation and Prediction Across Space and Time.” Annual Review of Ecology, Evolution, and Systematics 40: 677–697. 10.1146/annurev.ecolsys.110308.120159. [DOI] [Google Scholar]
  24. Fernandez, S. 2024. “biooracler: Import Environmental Ocean Data From Bio‐Oracle via ERDDAP [Computer Software].” https://github.com/bio‐oracle/biooracler.
  25. Fernandez‐Bejarano, S. , and Pohl L.. 2023. “Mregions2: Access Data From Marineregions.org: The Marine Regions Gazetteer and the Marine Regions Data Products [Computer Software].” https://github.com/lifewatch/mregions2.
  26. Flower, J. 2026. “oceandatrsets: Houses Large Datasets for the oceandatr Package.” https://github.com/emlab‐ucsb/oceandatrsets.
  27. Flower, J. , Ramdeen R., Estep A., et al. 2020. “Marine Spatial Planning on the Caribbean Island of Montserrat: Lessons for Data‐Limited Small Islands.” Conservation Science and Practice 2: e158. 10.1111/csp2.158. [DOI] [Google Scholar]
  28. Frawley, T. H. , Muhling B., Welch H., et al. 2022. “Clustering of Disaggregated Fisheries Data Reveals Functional Longline Fleets Across the Pacific.” One Earth 5, no. 9: 1002–1018. 10.1016/j.oneear.2022.08.006. [DOI] [Google Scholar]
  29. GEBCO Bathymetric Compilation Group . 2026. “The GEBCO_2026 Grid—A Continuous Terrain Model for Oceans and Land at 15 Arc‐Second Intervals [Dataset].” 10.5285/4f68d5c7-45eb-f999-e063-7086abc036fa. [DOI]
  30. Global Fishing Watch . 2022. “Global Database of Anchorages (Named_anchorages_v2_20221206) [Dataset].” https://globalfishingwatch.org/datasets‐and‐code/anchorages/.
  31. Government of Bermuda & Bermuda Ocean Prosperity Programme . 2024. “Bermuda's Blue Propserity Plan.” p. 180.
  32. Hanson, J. O. , Schuster R., Strimas‐Mackey M., et al. 2025. “Systematic Conservation Prioritization With the Prioritizr R Package.” Conservation Biology 39, no. 1: e14376. 10.1111/cobi.14376. [DOI] [PMC free article] [PubMed] [Google Scholar]
  33. Harris, P. T. , Macmillan‐Lawler M., Rupp J., and Baker E. K.. 2014. “Geomorphology of the Oceans.” Marine Geology 50th Anniversary Special Issue 352: 4–24. 10.1016/j.margeo.2014.01.011. [DOI] [Google Scholar]
  34. Hijmans, R. J. 2025. “terra: Spatial Data Analysis [Computer Software].” https://rspatial.org/.
  35. Hijmans, R. J. , Barbosa M., Ghosh A., and Mandel A.. 2024. “geodata: Download Geographic Data [Computer Software].” https://github.com/rspatial/geodata.
  36. IUCN . 2024. “The IUCN Red List of Threatened Species 2024–10 [Dataset].” https://www.iucnredlist.org/.
  37. Kaschner, K. , Kesner‐Reyes K., Garilao C., et al. 2019. “AquaMaps: Predicted Range Maps for Aquatic Species.” www.aquamaps.org.
  38. Kass, J. M. , Muscarella R., Galante P. J., et al. 2021. “ENMeval 2.0: Redesigned for Customizable and Reproducible Modeling of Species' Niches and Distributions.” Methods in Ecology and Evolution 12, no. 9: 1602–1608. 10.1111/2041-210X.13628. [DOI] [Google Scholar]
  39. Kroodsma, D. A. , Mayorga J., Hochberg T., et al. 2018. “Tracking the Global Footprint of Fisheries.” Science 359, no. 6378: 904–908. 10.1126/science.aao5646. [DOI] [PubMed] [Google Scholar]
  40. Lai, J. , Lortie C. J., Muenchen R. A., Yang J., and Ma K.. 2019. “Evaluating the Popularity of R in Ecology.” Ecosphere 10, no. 1: e02567. 10.1002/ecs2.2567. [DOI] [Google Scholar]
  41. Lehodey, P. , Alheit J., Barange M., et al. 2006. “Climate Variability, Fish, and Fisheries.” Journal of Climate 19, no. 20: 5009–5030. [Google Scholar]
  42. Longhurst, A. R. 2007. Ecological Geography of the Sea. Elsevier. 10.1016/B978-0-12-455521-1.X5000-1. [DOI] [Google Scholar]
  43. Lotze, H. K. , Tittensor D. P., Bryndum‐Buchholz A., et al. 2019. “Global Ensemble Projections Reveal Trophic Amplification of Ocean Biomass Declines With Climate Change.” Proceedings of the National Academy of Sciences of the United States of America 116, no. 26: 12907–12912. 10.1073/pnas.1900194116. [DOI] [PMC free article] [PubMed] [Google Scholar]
  44. Lovelace, R. , Nowosad J., and Muenchow J.. 2025. Geocomputation With R. 2nd ed. CRC Press. https://r.geocompx.org/. [Google Scholar]
  45. Magris, R. A. , Costa M. D. P., Ferreira C. E. L., et al. 2021. “A Blueprint for Securing Brazil's Marine Biodiversity and Supporting the Achievement of Global Conservation Goals.” Diversity and Distributions 27, no. 2: 198–215. 10.1111/ddi.13183. [DOI] [Google Scholar]
  46. Massicotte, P. , and South A.. 2023. “rnaturalearth: World Map Data From Natural Earth (Version 1.0.1) [Computer Software].” https://docs.ropensci.org/rnaturalearth/.
  47. McCarthy, J. , Leathwick J., Roudier P., et al. 2021. “New Zealand Environmental Data Stack (NZEnvDS): A Standardised Collection of Spatial Layers for Environmental Modelling and Site Characterisation.” New Zealand Journal of Ecology 45, no. 2: 3440. 10.20417/nzjecol.45.31. [DOI] [Google Scholar]
  48. McQuaid, K. A. , Bridges E. H., A.Howell K. L., et al. 2023. “Broad‐Scale Benthic Habitat Classification of the South Atlantic.” Progress in Oceanography 214: 103016. 10.1016/j.pocean.2023.103016. [DOI] [Google Scholar]
  49. Moilanen, A. , Kujala H., and Leathwick J. R.. 2009. “The Zonation Framework and Software for Conservation Prioritization.” In Spatial Conservation Prioritization: Quantitative Methods and Computational Tools, vol. 135, 196–210. Oxford University Press. [Google Scholar]
  50. Morato, T. , Hoyle S. D., Allain V., and Nicol S. J.. 2010. “Seamounts Are Hotspots of Pelagic Biodiversity in the Open Ocean.” Proceedings of the National Academy of Sciences of the United States of America 107, no. 21: 9707–9711. 10.1073/pnas.0910290107. [DOI] [PMC free article] [PubMed] [Google Scholar]
  51. Morato, T. , Machete M., Kitchingman A., et al. 2008. “Abundance and Distribution of Seamounts in the Azores.” Marine Ecology Progress Series 357: 17–21. 10.3354/meps07268. [DOI] [Google Scholar]
  52. Mugo, R. , Saitoh S.‐I., Nihira A., and Kuroyama T.. 2010. “Habitat Characteristics of Skipjack Tuna ( Katsuwonus pelamis ) in the Western North Pacific: A Remote Sensing Perspective.” Fisheries Oceanography 19, no. 5: 382–396. 10.1111/j.1365-2419.2010.00552.x. [DOI] [Google Scholar]
  53. National Geospatial‐Intelligence Agency . 2024. “World Port Index [Dataset].” https://msi.nga.mil/Publications/WPI.
  54. Natural Earth . 2024. “Natural Earth. Free Vector and Raster Map Data [Dataset].” https://www.naturalearthdata.com.
  55. O'Hara, C. C. , Afflerbach J. C., Scarborough C., Kaschner K., and Halpern B. S.. 2017. “Aligning Marine Species Range Data to Better Serve Science and Conservation.” PLoS One 12, no. 5: e0175739. 10.1371/journal.pone.0175739. [DOI] [PMC free article] [PubMed] [Google Scholar]
  56. Pebesma, E. 2018. “Simple Features for R: Standardized Support for Spatial Vector Data.” R Journal 10, no. 1: 439–446. 10.32614/RJ-2018-009. [DOI] [Google Scholar]
  57. Provoost, P. , Bosch S., and Best B.. 2022. iobis/robis: Robis 2.11.0 (Version v2.11.0) [Computer Software]. Zenodo. 10.5281/zenodo.6969395. [DOI]
  58. R Core Team . 2025. R: A Language and Environment for Statistical Computing [Computer Software]. R Foundation for Statistical Computing. https://www.R‐project.org/. [Google Scholar]
  59. Ready, J. , Kaschner K., South A. B., et al. 2010. “Predicting the Distributions of Marine Organisms at the Global Scale.” Ecological Modelling 221, no. 3: 467–478. 10.1016/j.ecolmodel.2009.10.025. [DOI] [Google Scholar]
  60. Rowden, A. A. , Schlacher T. A., Williams A., et al. 2010. “A Test of the Seamount Oasis Hypothesis: Seamounts Support Higher Epibenthic Megafaunal Biomass Than Adjacent Slopes: A Test of the Seamount Oasis Hypothesis.” Marine Ecology 31: 95–106. 10.1111/j.1439-0485.2010.00369.x. [DOI] [Google Scholar]
  61. Sala, E. , Mayorga J., Bradley D., et al. 2021. “Protecting the Global Ocean for Biodiversity, Food and Climate.” Nature 592, no. 7854: 397–402. 10.1038/s41586-021-03371-z. [DOI] [PubMed] [Google Scholar]
  62. Sherman, K. E. , and Alexander L. M.. 1986. Variability and Management of Large Marine Ecosystems, 319. Westview Press. https://api.semanticscholar.org/CorpusID:129679057. [Google Scholar]
  63. Spalding, M. D. , Fox H. E., Allen G. R., et al. 2007. “Marine Ecoregions of the World: A Bioregionalization of Coastal and Shelf Areas.” Bioscience 57, no. 7: 573–583. 10.1641/B570707. [DOI] [Google Scholar]
  64. Stachelek, J. 2023. ipdw: Spatial interpolation by Inverse Path Distance Weighting . [Computer Software]. https://cran.r‐project.org/package=ipdw.
  65. Stock, B. C. , Ward E. J., Eguchi T., et al. 2020. “Comparing Predictions of Fisheries Bycatch Using Multiple Spatiotemporal Species Distribution Model Frameworks.” Canadian Journal of Fisheries and Aquatic Sciences 77, no. 1: 146–163. 10.1139/cjfas-2018-0281. [DOI] [Google Scholar]
  66. Sutton, T. T. , Clark M. R., Dunn D. C., et al. 2017. “A Global Biogeographic Classification of the Mesopelagic Zone.” Deep Sea Research Part I: Oceanographic Research Papers 126: 85–102. 10.1016/j.dsr.2017.05.006. [DOI] [Google Scholar]
  67. Tennekes, M. 2018. “Tmap: Thematic Maps in R.” Journal of Statistical Software 84, no. 6: 1–39. 10.18637/jss.v084.i06.30450020 [DOI] [Google Scholar]
  68. Tittensor, D. P. , Novaglio C., Harrison C. S., et al. 2021. “Next‐Generation Ensemble Projections Reveal Higher Climate Risks for Marine Ecosystems.” Nature Climate Change 11: 973–981. 10.1038/s41558-021-01173-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
  69. Tyberghein, L. , Verbruggen H., Pauly K., Troupin C., Mineur F., and Clerck O. D.. 2012. “Bio‐ORACLE: A Global Environmental Dataset for Marine Species Distribution Modelling.” Global Ecology and Biogeography 21, no. 2: 272–281. 10.1111/j.1466-8238.2011.00656.x. [DOI] [Google Scholar]
  70. Vaihola, S. , and Kininmonth S.. 2023. “Environmental Factors Determine Tuna Fishing Vessels' Behavior in Tonga.” Fishes 8, no. 12: 12. 10.3390/fishes8120602. [DOI] [Google Scholar]
  71. Vinogradov, M. E. 1997. “Some Problems of Vertical Distribution of Meso‐ and Macroplankton in the Ocean.” In Advances in Marine Biology, edited by Blaxter J. H. S., Southward A. J., Gebruk A. V., Southward E. C., and Tyler P. A., vol. 32, 1–92. Academic Press. 10.1016/S0065-2881(08)60015-2. [DOI] [Google Scholar]
  72. Wickham, H. 2016. ggplot2: Elegant Graphics for Data Analysis. Springer‐Verlag New York. https://ggplot2.tidyverse.org. [Google Scholar]
  73. Wood, S. N. 2017. Generalized Additive Models: An Introduction With R. 2nd ed. Chapman and Hall/CRC. [Google Scholar]
  74. Yates, K. L. , and Schoeman D. S.. 2013. “Spatial Access Priority Mapping (SAPM) With Fishers: A Quantitative GIS Method for Participatory Planning.” PLoS One 8, no. 7: e68424. 10.1371/journal.pone.0068424. [DOI] [PMC free article] [PubMed] [Google Scholar]
  75. Yesson, C. , Bedford F., Rogers A. D., and Taylor M. L.. 2017. “The Global Distribution of Deep‐Water Antipatharia Habitat.” Deep Sea Research Part II: Topical Studies in Oceanography, Towards Ecosystem Based Management and Monitoring of the Deep Mediterranean, North‐East Atlantic and Beyond 145: 79–86. 10.1016/j.dsr2.2015.12.004. [DOI] [Google Scholar]
  76. Yesson, C. , Clark M. R., Taylor M. L., and Rogers A. D.. 2011. “The Global Distribution of Seamounts Based on 30 Arc Seconds Bathymetry Data.” Deep‐Sea Research Part I: Oceanographic Research Papers 58, no. 4: 442–453. 10.1016/j.dsr.2011.02.004. [DOI] [Google Scholar]
  77. Yesson, C. , Letessier T. B., Nimmo‐Smith A., et al. 2021. “Improved Bathymetry Leads to >4000 New Seamount Predictions in the Global Ocean – But Beware of Phantom Seamounts!” UCL Open Environment 4: e030. 10.14324/111.444/ucloe.000030. [DOI] [PMC free article] [PubMed] [Google Scholar]
  78. Yesson, C. , Taylor M. L., Tittensor D. P., et al. 2012. “Global Habitat Suitability of Cold‐Water Octocorals.” Journal of Biogeography 39, no. 7: 1278–1292. 10.1111/j.1365-2699.2011.02681.x. [DOI] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The oceandatr package is freely available from Github: https://github.com/emlab‐ucsb/oceandatr. The associated website (https://emlab‐ucsb.github.io/oceandatr/) has several tutorials, including the two case studies in this paper. A released and archived version of the package, used in the preparation of this paper, is available on Zenodo: https://doi.org/10.5281/zenodo.21149583. The associated data package, oceandatrsets, is also available on Github: https://github.com/emlab‐ucsb/oceandatrsets.


Articles from Ecology and Evolution are provided here courtesy of Wiley

RESOURCES