Skip to content
This repository has been archived by the owner on Oct 6, 2021. It is now read-only.

Latest commit

 

History

History
33 lines (18 loc) · 738 Bytes

README.md

File metadata and controls

33 lines (18 loc) · 738 Bytes

Ubiquiti Unifi Data Export Normalizer

The data that Unifi exports is conveniently human-readable but not readily usable within common spreadsheet programs for non-technical users to consume.

This little ditty normalizes the data by

  • converting session duration to minutes
  • converting data transfer to megabytes

Installation

Clone this repo and then get dependencies with:

gem install bundler && bundle install

I may package this as a Gem if gets used often enough to merit it.

Usage

ruby bin/normalize-unifi.rb input.csv > output.csv

or install it as a gem and you can shorten it to simply normalize-unifi.

Contributing

Ensure that all tests pass:

rake

Develop using Guard:

bundle exec guard