knitr::opts_chunk$set( collapse = TRUE, comment = "#>", warning = FALSE, message = FALSE )
Data on nutrients, pigments, suspended matter and secchi measurements from fixed stations on the Belgian Part of the North Sea.
Click to see all the columns available:
# Get the abstract and/or description from IMIS and print here library(jsonlite) dasid <- fromJSON("https://www.vliz.be/en/imis?module=dataset&dasid=4686&show=json") abstract <- dasid[["datasetrec"]][["EngAbstract"]] description <- dasid[["datasetrec"]][["EngDescr"]] if (is.null(abstract) & is.null(description)){ } else if(is.null(abstract) & !is.null(description)){ out <- description } else if(!is.null(abstract) & is.null(description)){ out <- abstract } else if(!is.null(abstract) & !is.null(description)){ out <- paste0(abstract, "</br>", description) } cat(out)
The full methodology is described in a datapaper:
Mortelmans, J.; Deneudt, K.; Cattrijsse, A.; et al. (2019). Nutrient, pigment, suspended matter and turbidity measurements in the Belgian part of the North Sea. Scientific Data 6(1): 22. https://hdl.handle.net/10.1038/s41597-019-0032-7
library(jsonlite) # Set base url 5251 4688 url <- "https://www.vliz.be/en/imis?module=dataset&dasid=4685" dasid <- fromJSON(paste0(url, "&show=json")) # Build citation. Get active DOI. doi <- dasid[["dois"]] doi <- subset(doi, doi$CurrentDOI == 1)$DOI doi <- paste0("https://doi.org/", doi) citation <- dasid[["datasetrec"]][["Citation"]] citation <- paste0("> ", citation, " ", doi, ". Accessed through the LifeWatch Data Explorer / lwdataexplorer R package." ) # Get license license <- dasid[["datasetrec"]][["AccConstrDisplay"]]
cat(citation)
cat(paste0("<b>Availability:</b>", license))
Please acknowledge as: This work makes use of the LifeWatch observation data and infrastructure (provided by MARBIOL, NIOZ, NOCS, PAE, VMM and VLIZ) funded by Research Foundation - Flanders (FWO) as part of the Belgian contribution to LifeWatch.
These data are also available in the R language with the lwdataxplorer package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.