Routes non specified flows
route_non_specified_flows.RdThis function is a wrapper of the functions
route_non_specified_eiou and route_non_specified_tp.
It is called within the specify_all() function.
Usage
route_non_specified_flows(
.tidy_iea_df,
route_non_specified_eiou = TRUE,
route_non_specified_tp = TRUE
)Arguments
- .tidy_iea_df
The
.tidy_iea_dfwhich flows need to be specified.- route_non_specified_eiou
A boolean that indicates whether non specified EIOU flows should be routed to existing industries or kept as non specified.
- route_non_specified_tp
A boolean that indicates whether non specified transformation processes flows should be routed to existing industries or kept as non specified.
Value
A modified version of the .tidy_iea_df with non specified flows routed to existing industries.
Details
See route_non_specified_eiou and route_non_specified_tp functions documentations for additional details.
Examples
library(dplyr)
load_tidy_iea_df() %>%
route_non_specified_flows()
#> # A tibble: 403 × 11
#> Country Method Energy.type Last.stage Year Ledger.side
#> <chr> <chr> <chr> <chr> <dbl> <chr>
#> 1 GHA PCM E Final 1971 Consumption
#> 2 GHA PCM E Final 1971 Consumption
#> 3 GHA PCM E Final 1971 Consumption
#> 4 GHA PCM E Final 1971 Consumption
#> 5 GHA PCM E Final 1971 Consumption
#> 6 GHA PCM E Final 1971 Consumption
#> 7 GHA PCM E Final 1971 Consumption
#> 8 GHA PCM E Final 1971 Consumption
#> 9 GHA PCM E Final 1971 Consumption
#> 10 GHA PCM E Final 1971 Consumption
#> # ℹ 393 more rows
#> # ℹ 5 more variables: Flow.aggregation.point <chr>, Flow <chr>, Product <chr>,
#> # Unit <chr>, E.dot <dbl>