Hakoy
Parse and organize CSV data into timestamp-sliced directories.
Usage
conf = {
db_dir: 'your file dir to store results',
output_format: 'csv', # default
timestamp_key: 'timestamp',
required_keys: [
'order_id',
'customer_id',
'product_id',
'price',
'timestamp'
]
}
Hakoy.('data/order.csv', conf)
It creates and organizes directories and files using timestamps. Below is a sample screenshot.
TODO
- Better unique key generation algorithm. It is too primitive now.