Skip to content

vmjulio/eavt-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EAVT helper CLI

Simple CLI to convert snapshots into eavt log, and eavt log into slowly changing dimensions

Usage

Installation

Clone the repository. Then browse to the project folder install the package in the dev mode:

  $ pip3 install --editable .

Snapshot to EAVT log

To convert a snapshot table into an EAVT log, make sure your csv have an unique column identifying the entities, and a date (or timestamp) column with the information of the time of the entity snapshot:

$ eavt_helper snapshot-to-eavt snapshot_table.csv id_col time_col out_eavt_file.csv

EAVT log to Slowly Changing Dimension

To convert an EAVT log into a Slowly Changing Dimension:

$ eavt_helper eavt-to-scd eavt_log.csv out_scd_file.csv

About

A simple CLI to convert snapshots into EAVT log, and EAVT log into SCD.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages