Get a data frame representing the flows in a model specification.
Arguments
- spec
- topological_sort
Should the states be topologically sorted to respect the main direction of flow?
- loops
Pattern for matching the names of flows that make the flow model not a DAG, which is a critical assumption when topologically sorting the order of states and flows in the output. This is only relevant if
topological_sort
is used.
Value
A data frame that gives information provided in calls to
mp_per_capita_flow
and mp_per_capita_inflow
.