Skip to content

@sqlrooms/kepler / buildKeplerTableLayerOptions

Function: buildKeplerTableLayerOptions()

buildKeplerTableLayerOptions(dbTables, keplerDatasetIds, options?): KeplerTableLayerOption[]

Build Add Layer dropdown options from DuckDB tables plus datasets that are already loaded into Kepler.

includeTable controls which DuckDB tables are exposed. Already-loaded dataset ids are included unless they resolve to an excluded table or duplicate an exposed table option.

Parameters

ParameterType
dbTablesDataTable[]
keplerDatasetIdsstring[]
optionsKeplerTableSelectionOptions

Returns

KeplerTableLayerOption[]