Automatically generate questions and dashboards based on predefined heuristics.
Automatically generate questions and dashboards based on predefined heuristics.
(->field root id-or-name)
Return Field
instance for a given ID or name in the context of root.
Return `Field` instance for a given ID or name in the context of root.
(->related-entity entity)
Turn entity
into an entry in :related.
Turn `entity` into an entry in `:related.`
(automagic-analysis entity opts)
Create a transient dashboard analyzing given entity.
Create a transient dashboard analyzing given entity.
(candidate-tables database)
(candidate-tables database schema)
Return a list of tables in database with ID database-id
for which it makes sense
to generate an automagic dashboard. Results are grouped by schema and ranked
acording to interestingness (both schemas and tables within each schema). Each
schema contains up to max-candidate-tables
tables.
Tables are ranked based on how specific rule has been used, and the number of fields. Schemes are ranked based on the number of distinct entity types and the interestingness of tables they contain (see above).
Return a list of tables in database with ID `database-id` for which it makes sense to generate an automagic dashboard. Results are grouped by schema and ranked acording to interestingness (both schemas and tables within each schema). Each schema contains up to `max-candidate-tables` tables. Tables are ranked based on how specific rule has been used, and the number of fields. Schemes are ranked based on the number of distinct entity types and the interestingness of tables they contain (see above).
(capitalize-first s)
Capitalize only the first letter in a given string.
Capitalize only the first letter in a given string.
(cell-title root cell-query)
Return a cell title given a root object and a cell query.
Return a cell title given a root object and a cell query.
(encode-base64-json x)
Encode given object as base-64 encoded JSON.
Encode given object as base-64 encoded JSON.
(metric-name [op & args :as metric])
Return the name of the metric or name by describing it.
Return the name of the metric or name by describing it.
(metric-op [op & args :as metric])
Return the name op of the metric
Return the name op of the metric
(source-name root)
Return the (display) name of the soruce of a given root object.
Return the (display) name of the soruce of a given root object.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close