getSHARK: Downloads current monitoring data from SHARKdata

View source: R/importShark.R

getSHARKR Documentation

Downloads current monitoring data from SHARKdata

Description

This function downloads all current data at sharkdata.se by data type.

Usage

getSHARK(datatype, possibly = TRUE)

Arguments

datatype

(Required) A string representing the type of data to be downloaded. (Only "Zooplankton" and "Phytoplankton" tested).

possibly

(Optional, default=TRUE) Logical. If TRUE: datasets that does not fit the format (cannot be read as TSV) will not be downloaded. If FALSE: the function will stop if an errournous dataset is encountered.

Value

A dataframe.

Examples

data <- getSHARK("Phytoplankton")


andreasnovotny/shaRk documentation built on Feb. 12, 2023, 7:06 p.m.