Project

hakoy

0.0
No commit activity in last 3 years
No release in over 3 years
Parse and organize data into timestamp-sliced directories.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6
>= 0
~> 2.14.1

Runtime

~> 0.10.2
 Project Readme

Hakoy

Code Climate

Parse and organize CSV data into timestamp-sliced directories.

Usage

Hakoy.configure do
  root_dir: '/app/data'
end

conf = {
  db_id:   'your file dir to store results',
  timestamp_key: 15,
  required_keys: [
    customer:  24,
    product:   17,
    timestamp: 15,
    price:     18,
    order_id:  0
  ]
}

Hakoy.('data/order.csv', conf)

It creates and organizes directories and files using timestamps. Below is a sample screenshot.

screen shot 2014-06-12 at 12 13 34 pm

TODO

  • Better unique key generation algorithm. It is too primitive now.