MetadataFilter: MetadataFilter

View source: R/MetadataFilter.R

MetadataFilterR Documentation

MetadataFilter

Description

Filters data based on the Lakedata Table and other Metadata. To see with data fits please use the ShowMetaDataFilters function.

Usage

MetadataFilter(
  data,
  NAignore = TRUE,
  Filter1 = c(name = "metdataName", criteria = c("greater", "smaller", "TRUE",
    "FALSE"), value = NULL),
  Filter2 = c(name = "metdataName", criteria = c("greater", "smaller", "TRUE",
    "FALSE"), value = NULL),
  Filter3 = c(name = "metdataName", criteria = c("greater", "smaller", "TRUE",
    "FALSE"), value = NULL),
  Filter4 = c(name = "metdataName", criteria = c("greater", "smaller", "TRUE",
    "FALSE"), value = NULL),
  Filter5 = c(name = "metdataName", criteria = c("greater", "smaller", "TRUE",
    "FALSE"), value = NULL)
)

Arguments

data

List of data generates by the Multivar function.

NAignore

If TRUE, value that are NA don't get filtered.

Filter1



name = name of the metadata. Get this from the function ShowMetaDataFilters.

criteria = Can be "greater","smaller","TRUE" or"FALSE".

value = The filter value when greater or smaller.

Filter2

Values for Filter 2.

Filter3

Values for Filter 3.

Filter4

Values for Filter 4.

Filter5

Values for Filter 5.

Value

.Returns the same List but with filtert parameters

Note

This function has only been developed for the Alfred Wegener Institute Helmholtz Centre for Polar and Marine Research and should therefore only be used in combination with their database.
Comma numbers are rounded up.

Author(s)

Tim Kroeger


TimKroeger13/ProjectMultiLake documentation built on March 18, 2022, 2:22 p.m.