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
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for dataesg-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4613a67f0d784ebd6cfd59ad6a364a13b8a10eee03497062afeceb79feae95f6 |
|
MD5 | 4816ee6fbad995e612467769ef2381af |
|
BLAKE2b-256 | c70a0da535666a26bd78d45607fc05ea8e83f3c59eef729c34e9b79e2e97e175 |