Liking cljdoc? Tell your friends :D

metabase.related

Related entities recommendations.

Related entities recommendations.
raw docstring

definitioncljmultimethod

(definition entity)

Return the relevant parts of a given entity's definition. Relevant parts are those that carry semantic meaning, and especially context-bearing forms.

Return the relevant parts of a given entity's definition.
Relevant parts are those that carry semantic meaning, and especially
context-bearing forms.
sourceraw docstring

(related entity)

Return related entities.

Return related entities.
sourceraw docstring

similarityclj

(similarity a b)

How similar are entities a and b based on a structural comparison of their definition (MBQL). For the purposes of finding related entites we are only interested in context-bearing subforms (field, segment, and metric references). We also don't care about generalizations (less context-bearing forms) and refinements (more context-bearing forms), so we just check if the less specifc form is a subset of the more specific one.

How similar are entities `a` and `b` based on a structural comparison of their
definition (MBQL).
For the purposes of finding related entites we are only interested in
context-bearing subforms (field, segment, and metric references). We also
don't care about generalizations (less context-bearing forms) and refinements
(more context-bearing forms), so we just check if the less specifc form is a
subset of the more specific one.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close