metad.connectors.base module

Classes

BaseConnector()

class metad.connectors.base.BaseConnector[source]

Bases: object

Methods

export(path_to_output)

Export the relational dataset.

export_metadata(path_to_json)

Write the metadata to a JSON file.

export_tables(path_to_output)

Write the tables to CSV files.

export(path_to_output)[source]

Export the relational dataset.

This exports the relational dataset to the output directory. It write the metadata to a JSON file and stores the tables as CSV files where the name of the file is the table name.

Parameters

path_to_output (str) – The path to the output directory.

export_metadata(path_to_json)[source]

Write the metadata to a JSON file.

Parameters

path_to_json (str) – The path to the output JSON.

export_tables(path_to_output)[source]

Write the tables to CSV files.

Parameters

path_to_output (str) – The path to the output directory.