Skip to main content

Package for dataesg data access

Project description

DATAESG

Dataesg Python

This is the official documentation for Dataesg’s Python Package. This package is compatible with python v3+.

Installation

To complete the installation of Dataesg’s Python Package, execute either of the following pip commands from terminal:

$ pip install dataesg
$ pip3 install dataesg

API Configurations

Please use the provided API keys to be able to access our services. Example API Key: 32e6f6c4-33b1-4156-8ae6-8t92e7ab66cc

Using Python to retrieve ESG data

$ import dataesg
$ dataesg.connect(‘32e6f6c4-33b1-4156-8ae6-8t92e7ab66cc’)
$ dataesg.get_sample(metric=[‘Scope_1’,‘Scope_2’],return_type=‘pandas’)
$ dataesg.get_by_ticker(ticker=‘MMM’,return_type=‘pandas’)
$ dataesg.get_by_isin(isin=[‘US88579Y1010’,’SE0000103814’],return_type=‘pandas’)
$ dataesg.get_by_cusip(cusip=‘88579Y101’,return_type=‘numpy’)
$ dataesg.get_by_sedol(sedol=‘2595708’,return_type=‘numpy’)

Parameters

$ metrics - string or list of strings (default: returns all metrics)
$ return_type - either ‘pandas’ or ’numpy’ (default: ‘pandas’)
$ api_key - If not connected previously

License


MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dataesg-0.0.2.tar.gz (5.9 kB view hashes)

Uploaded Source

Built Distribution

dataesg-0.0.2-py2.py3-none-any.whl (8.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page