Skip to contents

The SGL Language

The Get started guide and the SGL paper document SGL language clauses and related concepts. The pages below document specific geoms, transformations, aggregations, and scales available within SGL.

Generating plots

dbGetPlot()
Generate a plot from a SGL statement

Geoms

points
Points
lines
Lines
bars
Bars
boxes
Boxes
violins
Violins

Column-level transformations

bin
Bin

Aggregations

count
Count
avg
Average

Scales

linear
Linear
log
Log
ln
Natural Log

SGL type classifications

type_classifications()
Get SGL type classifications for columns in a table

Datasets

Sample data used in examples and vignettes.

cars
Cars dataset
trees
Trees dataset