These functions return the distinct relationship types that originate from or point to the supplied codes.
Usage
RELATIONSHIP_TYPES_FROM(
...,
type = getOption("codeminer.code_type"),
relationship_version = getOption("codeminer.relationship_version", default = "latest"),
col_filters = "default"
)
RELATIONSHIP_TYPES_TO(
...,
type = getOption("codeminer.code_type"),
relationship_version = getOption("codeminer.relationship_version", default = "latest"),
col_filters = "default"
)Details
RELATIONSHIP_TYPES_FROM()returns relationship types originating from codesRELATIONSHIP_TYPES_TO()returns relationship types pointing to codes
See also
Other Code relationships:
attributes(),
parent_child_retrieval
Examples
create_dummy_database()
#> ✔ Dummy database ready to use!
#> ℹ To reconnect to your previous database:
#> `Sys.setenv(CODEMINER_DB_PATH = "/tmp/Rtmp7fg0Bd/file1c7d66838478.duckdb")`
#> `codeminer_connect()`
# RELATIONSHIP_TYPES_FROM returns types originating from codes
# RELATIONSHIP_TYPES_TO returns types pointing to codes