Description Usage Arguments Value Examples
View source: R/data_processing.R
Prepares results data per asset type for map plot
1 2 3 4 5 6 7 8 | prepare_for_map_chart(
data_map_asset_type,
asset_type,
technology_filter,
year_filter,
value_divisor = 1,
allocation_method = NULL
)
|
data_map_asset_type |
Dataframe in the shape of "Equity/Bonds_results_map.rda" dataset from PACTA analysis output in "40_Results" folder (dataframe). |
asset_type |
Asset type of the data used to specify default allocation method (character string). |
technology_filter |
Technology to be used for filtering (character string). |
year_filter |
Year to be used for filtering (integer). |
value_divisor |
Number by which to divide the values to be plotted (integer). |
allocation_method |
Allocation method used to calculate the production values. If none is specified "portfolio_weight" is used for Bonds and "ownership_weight" is used for Equity. |
Dataframe with columns (only important columns are listed): long, lat, group, value, unit, abbreviation_divisor.
1 | #TODO
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.