Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating a data dictionary in Dataiku

I would like to create a data dictionary for all the tables and columns that I have imported in my Dataiku project.

For example, in SAS there are SASHELP.VCOLUMN and .VTABLE that covers such functionality.

Is there a smart way to do it in Dataiku?

like image 980
kacperdominik Avatar asked Sep 09 '26 07:09

kacperdominik


1 Answers

Should you be inside or outside Dataiku I think you should use the python API (accessible from a Dataiku notebook or using the python client library

import dataiku
import json

# Listing project datasets 
myproject = client.get_project('YOUR_PROJECT_NAME')
datasets = project.list_datasets()


for datasetName in project.list_datasets():
    # get dataset object 
    dataset = myproject.get_dataset(' batting_postseason')
    # dump dataset schema
    json.dumps(dataset.get_schema())

Since you can also install this client api outside DSS it's the most universal way to me but beware Dataiku also provide a catalog and public api call to index Dataiku connections and retrieve statistics on all your items including those not used in a project yet.

Edit :

There's also a plugin called "Audits a dataset" that allows you to generate quickly such a report without coding.

like image 194
leldo Avatar answered Sep 12 '26 20:09

leldo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!