gtoxLoadVehicle: Load vehicle information

Description Usage Arguments Value Examples

View source: R/gtoxLoadVehicle.R

Description

gtoxLoadVehicle queries the gtox database and returns the vehicle information for the given field and values.

Usage

1
gtoxLoadVehicle(field = NULL, val = NULL)

Arguments

field

Character of length 1, the field to query on

val

Vector of values to subset on

Value

A data.table with the list of vehicles and vehicles ids.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Store the current config settings, so they can be reloaded at the end 
## of the examples
conf_store <- gtoxConfList()
gtoxConfDefault()

## Prepare for analysis before QC + process data
gtoxLoadVehicle()

## Reset configuration
options(conf_store)

GladiaTOX documentation built on Nov. 15, 2020, 2:07 a.m.