gtoxLoadVehicle {GladiaTOX} | R Documentation

## Load vehicle information

### Description

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

### Usage

    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

    ## 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)

[Package GladiaTOX version 1.4.0 Index]