ITR.data.sbti

Classes

SBTi

Data provider skeleton for SBTi. This class only provides the sbti_validated field for existing companies.

Module Contents

class ITR.data.sbti.SBTi(config: Type[ITR.configs.PortfolioCoverageTVPConfig] = PortfolioCoverageTVPConfig)

Data provider skeleton for SBTi. This class only provides the sbti_validated field for existing companies.

_check_if_cta_file_exists()

Check if the CTA file exists in the local file system

_check_CTA_less_than_one_week_old()

Check if the CTA file is older than a week

_use_local_cta_file()
_download_cta_file()
_fetch_and_save_cta_file()
handle_cta_file()
c
targets = None
filter_cta_file(targets)

Filter the CTA file to create a dataframe that has one row per company with the columns “Action” and “Target”. If Action = Target then only keep the rows where Target = Near-term.

get_sbti_targets(companies: List[ITR.interfaces.IDataProviderCompany], id_map: dict) List[ITR.interfaces.IDataProviderCompany]

Check for each company if they have an SBTi validated target, first using the company LEI, if available, and then using the ISIN.

Parameters:
  • companies – A list of IDataProviderCompany instances

  • id_map – A map from company id to a tuple of (ISIN, LEI)

Returns:

A list of IDataProviderCompany instances, supplemented with the SBTi information