Accessing and Validating Marine Environmental Data from 'SHARK' and Related Databases

Provides functions to retrieve, process, analyze, and quality-control marine physical, chemical, and biological data. The main focus is on Swedish monitoring data available through the 'SHARK' database < https://shark.smhi.se/en/>, with additional API support for 'Nordic Microalgae' < https://nordicmicroalgae.org/>, 'Dyntaxa' < https://artfakta.se/>, World Register of Marine Species ('WoRMS') < https://www.marinespecies.org>, 'AlgaeBase' < https://www.algaebase.org>, OBIS 'xylookup' web service < https://iobis.github.io/xylookup/> and Intergovernmental Oceanographic Commission (IOC) - UNESCO databases on harmful algae < https://www.marinespecies.org/hab/> and toxins < https://toxins.hais.ioc-unesco.org/>.


SHARK4R: Accessing and Validating Marine Environmental Data from 'SHARK' and Related Databases SHARK4R website

R-CMD-check CRAN status CRAN checks Lifecycle: stable codecov

Overview

This R package is equipped with a client application designed for integration with API functions. It facilitates access to various databases, including SHARK, SLU Artdatabanken (Dyntaxa), WoRMS, AlgaeBase, IOC-UNESCO Taxonomic Reference List of Harmful Microalgae, IOC-UNESCO Toxins database, OBIS xylookup web service and Nordic Microalgae. The package serves a dual purpose, supporting both data analysis and automatic quality control of physical, chemical, and marine biological data. Several quality control components, originally developed by Provoost and Bosch (2024), have been adapted for compatibility with the SHARK format.

Installation

You can install the latest version of SHARK4R from CRAN using:

install.packages("SHARK4R")

Or install the development version (requiring the remotes package):

# install.packages("remotes")
remotes::install_github("sharksmhi/SHARK4R", 
                        dependencies = TRUE)

Documentation and Tutorials

Website

For detailed information, please visit the project's webpage.

Tutorials

Explore the features and capabilities of SHARK4R through these tutorials:

Reference

For a detailed overview of all available SHARK4R functions, please visit the reference section:

Repository

For more details and the latest updates, visit the GitHub repository.

License

This package is licensed under the MIT License.

References

Provoost P, Bosch S (2024). obistools: Tools for data enhancement and quality control. Ocean Biodiversity Information System. Intergovernmental Oceanographic Commission of UNESCO. R package version 0.1.0, https://iobis.github.io/obistools/.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("SHARK4R")

1.2.1 by Anders Torstensson, a month ago


https://sharksmhi.github.io/SHARK4R/, https://github.com/sharksmhi/SHARK4R


Report a bug at https://github.com/sharksmhi/SHARK4R/issues


Browse source code at https://github.com/cran/SHARK4R


Authors: Markus Lindh [aut] (Swedish Meteorological and Hydrological Institute , ORCID: , Anders Torstensson [aut, cre] (Swedish Meteorological and Hydrological Institute , ORCID: , Mikael Hedblom [ctb] (Swedish Meteorological and Hydrological Institute , ORCID: , Bengt Karlson [ctb] (Swedish Meteorological and Hydrological Institute , ORCID: , Peter Thor [ctb] (Swedish University of Agricultural Sciences , ORCID: , Marie Johansen [ctb] (Swedish Meteorological and Hydrological Institute) , SHARK [cph] , SBDI [fnd] (Swedish Research Council , 2019-00242)


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports cli, dplyr, DT, ggplot2, httr, jsonlite, leaflet, lifecycle, purrr, readr, readxl, rlang, sf, stringi, terra, tidyr, vroom, worrms

Suggests ggtext, htmltools, iRfcb, knitr, plotly, RColorBrewer, rmarkdown, rnaturalearth, rnaturalearthdata, skimr, spelling, shiny, bslib, bsicons, testthat


See at CRAN