Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import and pass the raw text of weo_2022_electric_sales_aps_auto_raw_full_filename #49

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions process_scenario_weo_2022.R
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ weo_2022_sales_aps_auto_raw <-
show_col_types = FALSE
)

weo_2022_electric_sales_aps_auto_raw <-
readr::read_csv(
file = weo_2022_electric_sales_aps_auto_raw_full_filename,
show_col_types = FALSE
weo_2022_electric_sales_aps_auto_raw_text <-
readLines(
con = weo_2022_electric_sales_aps_auto_raw_full_filename,
warn = FALSE
)

logger::log_info("WEO 2022: Processing WEO 2022 data.")
Expand All @@ -122,7 +122,7 @@ weo_2022 <-
weo_2022_nze_auto_raw,
weo_2022_nze_steel_raw,
weo_2022_sales_aps_auto_raw,
weo_2022_electric_sales_aps_auto_raw
weo_2022_electric_sales_aps_auto_raw_text
)

if (pacta.data.validation::validate_intermediate_scenario_output(weo_2022)) {
Expand Down
Loading