Prepare adjusted flow outputs for validation
Source:R/validate_flow_methods.R
validate_flow_prepare_output.Rdvalidate_flow_prepare_output() joins an adjusted-flow table to the raw MPD
flow column used by validation comparisons. validate_flow_prepare_outputs()
applies the same preparation to a named list of adjusted-flow tables.
Usage
validate_flow_prepare_output(
adj_df,
mpd_df,
flow_col_mpd = "flow",
flow_col_adj = "flow_adj"
)
validate_flow_prepare_outputs(
adjusted_outputs,
mpd_df,
flow_col_mpd = "flow",
flow_col_adj = "flow_adj"
)Arguments
- adj_df
Data frame with adjusted flows.
- mpd_df
Raw MPD flow data with
origin,destination, and the raw flow column.- flow_col_mpd
Name of the raw MPD flow column in
mpd_df. Default"flow".- flow_col_adj
Name of the adjusted-flow column in
adj_df. Default"flow_adj".- adjusted_outputs
Named list of adjusted-flow data frames.