Skip to contents

Main functions

emissions_profile()
Calculate the indicator "emissions profile"
emissions_profile_upstream()
Calculate the indicator "emissions profile upstream"
sector_profile()
Calculate the indicator "sector profile"
sector_profile_upstream()
Calculate the indicator "sector profile upstream"

Helpers

exclude()
Exclude columns matching a pattern and the resulting duplicates
jitter_range()
Expand a range adding some random noise
join_to()
Join every possible column and row
summarize_range()
Summarize the range of a column by groups
unnest_product() unnest_company()
Unnest product- and company-level results

Pre-processing helpers

sector_profile_any_pivot_type_sector_subsector()
Restructure "sector profile" companies
sector_profile_any_prepare_scenario()
Given a named list of scenarios returns a cleaner scenarios dataframe
sector_profile_any_prune_companies()
Drop rows where the product info is NA & sector info is duplicated

Post-processing helpers