Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.ldgr.app/llms.txt

Use this file to discover all available pages before exploring further.

Python Access to Our Schema

With any IDE, you can access our data, which is hosted on the Databricks platform. Use the following instructions:
  1. Contact us at [email protected] and we will send you a link.
  2. From this link, download a credential file you will need: config.share
  3. Install the delta sharing python package in your local environment: pip install delta_sharing
  4. Use the following code to get a table named contract_text:
import delta_sharing

# change local path to file if needed, this assumes it's in the same folder
share_file = "config.share"
client = delta_sharing.SharingClient(share_file)
share = "ledgerdatamap"
table_name = "contract_text"

def get_table_url(table):
    return f"{share_file}#{share}.data_map.{table}"

df = delta_sharing.load_as_pandas(get_table_url(table_name))
print(df)
  1. To view all available tables do: client.list_all_tables()