Description Usage Arguments Examples
View source: R/prepare_for_techmix_chart.R
Prepares pre-processed data for plotting a tech-mix chart
1 2 3 4 5 6 7 8 9 10 |
data |
Pre-processed input data. |
sector_filter |
Sector for which to filter the data (character string). |
years_filter |
Years to plot in the graph (array of integer values). |
region_filter |
Region for which to filter the data (character string). |
scenario_source_filter |
Scenario source for which to filter the data (character string). |
scenario_filter |
Scenario to plot in the graph (character string). |
value_to_plot |
The name of the value to be plotted as a bar chart (character string). |
1 2 3 4 5 6 7 8 9 | prepare_for_techmix_chart(
process_input_data(example_data),
sector_filter = "power",
years_filter = c(2020, 2025),
region_filter = "global",
scenario_source_filter = "demo_2020",
scenario_filter = "sds",
value_to_plot = "technology_share"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.