ITR.data.sbti
Module Contents
Classes
Data provider skeleton for SBTi. This class only provides the sbti_validated field for existing companies. |
- 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(self)
Check if the CTA file exists in the local file system
- _check_CTA_less_than_one_week_old(self)
Check if the CTA file is older than a week
- _use_local_cta_file(self)
- _download_cta_file(self)
- _fetch_and_save_cta_file(self)
- handle_cta_file(self)
- filter_cta_file(self, 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(self, 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