SHARK4R: 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/>.

Version: 1.0.1
Depends: R (≥ 4.1.0)
Imports: dplyr, DT, ggplot2, httr, jsonlite, leaflet, lifecycle, purrr, readr, readxl, rlang, sf, sp, stringi, terra, tidyr, vroom, worrms
Suggests: htmltools, iRfcb, knitr, plotly, RColorBrewer, rmarkdown, skimr, spelling, shiny, shinythemes, testthat (≥ 3.0.0)
Published: 2025-12-09
DOI: 10.32614/CRAN.package.SHARK4R (may not be active yet)
Author: Markus Lindh ORCID iD [aut] (Swedish Meteorological and Hydrological Institute), Anders Torstensson ORCID iD [aut, cre] (Swedish Meteorological and Hydrological Institute), Mikael Hedblom ORCID iD [ctb] (Swedish Meteorological and Hydrological Institute), Bengt Karlson ORCID iD [ctb] (Swedish Meteorological and Hydrological Institute), SHARK [cph], SBDI [fnd] (Swedish Research Council, 2019-00242)
Maintainer: Anders Torstensson <anders.torstensson at smhi.se>
BugReports: https://github.com/sharksmhi/SHARK4R/issues
License: MIT + file LICENSE
URL: https://sharksmhi.github.io/SHARK4R/, https://github.com/sharksmhi/SHARK4R
NeedsCompilation: no
Language: en-US
Citation: SHARK4R citation info
Materials: README, NEWS
CRAN checks: SHARK4R results

Documentation:

Reference manual: SHARK4R.html , SHARK4R.pdf
Vignettes: Quality Control of SHARK Data (source, R code)
Retrieve HAB Data From IOC-UNESCO Databases (source, R code)
Retrieve Data From Nordic Microalgae (source, R code)
Retrieve Data From SHARK (source, R code)
Retrieve Taxonomic Data From WoRMS (source, R code)

Downloads:

Package source: SHARK4R_1.0.1.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): SHARK4R_1.0.1.tgz, r-oldrel (arm64): SHARK4R_1.0.1.tgz, r-release (x86_64): SHARK4R_1.0.1.tgz, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=SHARK4R to link to this page.