pipe_merge_statements: Merge statements into links

pipe_merge_statementsR Documentation

Merge statements into links

Description

Merge statements into links

Usage

pipe_merge_statements(graf)

Arguments

graf

A mapfile representing a causal map. A mapfile is a tidygraph, which consists of a table of edges linked to a table of nodes, with an optional additional table of statements. In this package, nodes are called 'factors' and edges are called 'links.'

Value

A mapfile in which columns from the statements table are merged into the links table.

Examples

cashTransferMap %>% pipe_merge_statements() %>% pipe_find_links(field="text",value="women",operator="contains")
cashTransferMap %>% pipe_find_statements(field="text",value="women",operator="contains")

stevepowell99/CausalMapFunctions documentation built on Oct. 12, 2023, 11:13 a.m.