knitr::opts_chunk$set( collapse = TRUE, comment = "#>", warning = FALSE, message = FALSE )
Traits data from the World Register of Marine Species (WoRMS).
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=8131&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)
Marine Species Traits editorial board (2023). Marine Species Traits. Accessed at http://www.marinespecies.org/traits on yyyy-mm-dd. https://doi.org/10.14284/580
Availability: CC-BY
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.