LSEG Data Library for Python

cleanup_db

Cleans up the local in-memory database of a particular ESG data that was previously created.

Module

lseg.data.content.esg.bulk

Syntax

cleanup_db()

Parameters

None.

Returned value

None.

Usage

The following example demonstrates how to clean up the local in-memory database of specific ESG data that was created previously:

from lseg.data.content.esg import PackageManager

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

# Cleanup the local database.

pkg.cleanup_db()

None.

36 words (0:11 mins)