DRDataRaft/ docs
GitHub ↗

dr_dbt_lineage()

Return declared dependencies for models, tests, sources, exposures and other manifest nodes. Dependencies describe SQL builds, not primary/foreign keys or column-level lineage. No database connection or dbt installation is needed.

Usage

dr_dbt_lineage(x)

Arguments

x
A dr_dbt_result, or a character scalar giving an artifact directory.

Value

A tibble with character columns from, to and resource_type. One row represents a dependency from a parent to a downstream resource.

Examples

artifacts <- system.file("extdata", "dbt-artifacts", package = "dataraft.dbt")
dr_dbt_lineage(artifacts)

See also

dr_dbt_model(), dr_dbt_status()
Documentation source snapshot · View source at 3a9d744 ↗
Code examples are documented source examples; they are not executed in this website build.

Search documentation

Search functions, packages and guides.