Warning: The `x` argument of `as_tibble.matrix()` must have unique column names if
`.name_repair` is omitted as of tibble 2.0.0.
ℹ Using compatibility `.name_repair`.
sheet_header_processed
# A tibble: 23 × 2
scenario year
<chr> <chr>
1 Current Year <NA>
2 Current Year 2022
3 Current Year <NA>
4 Stated policies scenario 2025
5 Stated policies scenario 2030
6 Stated policies scenario 2035
7 Stated policies scenario 2040
8 Stated policies scenario 2045
9 Stated policies scenario 2050
10 Stated policies scenario <NA>
# ℹ 13 more rows
Rows: 779 Columns: 6
── Column specification ────────────────────────────────────────────────────────
Delimiter: ","
chr (4): mineral_name, indicator, scenario, unit
dbl (2): year, value
ℹ Use `spec()` to retrieve the full column specification for this data.
ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
# A tibble: 38 × 6
mineral_name indicator scenario unit year value
<chr> <chr> <chr> <chr> <dbl> <dbl>
1 Copper Electric vehicles Current Year kiloton 2022 373.
2 Copper Electric vehicles Stated policies scenario kiloton 2025 580.
3 Copper Electric vehicles Stated policies scenario kiloton 2030 1044.
4 Copper Electric vehicles Stated policies scenario kiloton 2035 1219.
5 Copper Electric vehicles Stated policies scenario kiloton 2040 1421.
6 Copper Electric vehicles Stated policies scenario kiloton 2045 1458.
7 Copper Electric vehicles Stated policies scenario kiloton 2050 1346.
8 Copper Electric vehicles Announced pledges scenario kiloton 2025 689.
9 Copper Electric vehicles Announced pledges scenario kiloton 2030 1592.
10 Copper Electric vehicles Announced pledges scenario kiloton 2035 2570.
# ℹ 28 more rows
copper_compare_1 <- copper_cobalt |>filter(mineral_name =="Copper") |>filter(scenario =="Stated policies scenario"| scenario =="Announced pledges scenario")ggplot(copper_compare_1, aes(x = scenario, y = value, fill = scenario)) +geom_bar(stat ="identity", position ="dodge") +theme_minimal() +labs(title ="Demand of Copper In Stated policies scenario & Announced pledges scenario",x ="Scenario",y ="Demand in Copper")
copper_compare_2 <- copper_cobalt |>filter(mineral_name =="Copper") |>filter(scenario =="Stated policies scenario"| scenario =="Net Zero Emissions by 2050 scenario")ggplot(copper_compare_2, aes(x = scenario, y = value, fill = scenario)) +geom_bar(stat ="identity", position ="dodge") +theme_minimal() +labs(title ="Demand of Copper In Stated policies scenario & Net Zero Emissions by 2050 scenario",x ="Scenario",y ="Demand in Copper")
copper_compare_3 <- copper_cobalt |>filter(mineral_name =="Copper") |>filter(scenario =="Announced pledges scenario"| scenario =="Net Zero Emissions by 2050 scenario")ggplot(copper_compare_3, aes(x = scenario, y = value, fill = scenario)) +geom_bar(stat ="identity", position ="dodge") +theme_minimal() +labs(title ="Demand of Copper In Announced pledges scenario & Net Zero Emissions by 2050 scenario",x ="Scenario",y ="Demand in Copper")
cobalt_compare_1 <- copper_cobalt |>filter(mineral_name =="Cobalt") |>filter(scenario =="Stated policies scenario"| scenario =="Announced pledges scenario")ggplot(cobalt_compare_1, aes(x = scenario, y = value, fill = scenario)) +geom_bar(stat ="identity", position ="dodge") +theme_minimal() +labs(title ="Demand of Cobalt In Stated policies scenario & Announced pledges scenario",x ="Scenario",y ="Demand in Cobalt")
cobalt_compare_2 <- copper_cobalt |>filter(mineral_name =="Cobalt") |>filter(scenario =="Stated policies scenario"| scenario =="Net Zero Emissions by 2050 scenario")ggplot(cobalt_compare_1, aes(x = scenario, y = value, fill = scenario)) +geom_bar(stat ="identity", position ="dodge") +theme_minimal() +labs(title ="Demand of Cobalt In Stated policies scenario & Net Zero Emissions by 2050 scenario",x ="Scenario",y ="Demand in Cobalt")