tcplLvlCount: Load tcpl level counts

View source: R/tcplLvlCount.R

tcplLvlCountR Documentation

Load tcpl level counts

Description

tcplLvlCount queries the tcpl databases and returns a data frame with count totals for the given levels and data type.

Usage

tcplLvlCount(lvls = NULL, type = "mc")

Arguments

lvls

Integer or list of Integers, The levels of data to load

type

Character of length 1, the data type, "sc" or "mc"

Details

The data type can be either 'mc' for mutliple concentration data, or 'sc' for single concentration data.

Leaving lvls NULL will return all data.

Value

A data.table containing data for the given fields.

See Also

tcplQuery, data.table

Examples

## Not run: 
## Get all counts for level 1 for multiple-concentration
tcplLvlCount(lvls = 1)

## Get all counts for levels 4 through 7 for multiple-concentration
tcplLvlCount(lvls = 4:7)

## Get all counts for multiple-concentration data, note 'mc' is the 
## default value for type
tcplLvlCount()

## End(Not run)


tcpl documentation built on Oct. 10, 2024, 1:07 a.m.