Module expression

Module expression 

Source
Expand description

Parse an expression from the -e flag from the CLI.

Structs§

CLIexpression
The CLI expression which needs to be parsed.
Variable
The GoaT variable of interest.

Enums§

Function
Kind of an option alias. Does a particular variable have a function associated with it? Usually min/max.
TypeOf
Serialize GoaT variables into their types.

Constants§

VALID_EXPRESSION_FUNCTIONS
Summary functions that can wrap a field in an expression, e.g. max(genome_size). Mirrors the API’s own list (functions/summaries.js), minus its internal metadata and hexbin* summaries.

Functions§

canonical_field
Resolve a field name as the API does: case-insensitively, accepting synonyms (e.g. ebp_metric_date) and - in place of _.
print_variable_data
Print the table of GoaT variable data.