Refinitiv Data Library for Python

cleanup_files

Cleans up all the previously downloaded local files that belong to a particular ESG data package.

Module

refinitiv.data.content.esg.bulk

Syntax

cleanup_files()

Parameters

None.

Returned value

None.

Usage

The following example demonstrates how to clean up previously downloaded ESG package files:

from refinitiv.data.content.esg import PackageManager

# Define package of ESG data to retrieve.
pkg = PackageManager('esg.standard_scores')

# Cleanup all previously downloaded files that belong to this data package

pkg.cleanup_files()

None.