Skip to content

qjuanp/go-t-csv-statistics

Repository files navigation

CSV Statistics

Calculate average, median and person with medina from a set of files comming for a network location.

Input

Rules applied to this version implementation:

  • Local file location for this iteration
  • Just one file
  • csv file contains headers

Output

Average age

Example data

./data folder will contain several examples

Usage

go run main.go ./data/10-records.csv

Backlog

  • Read miltiple files
  • Read files from remote location (file://, http://, etc)
  • Performance report
    • numer of files
    • Total processing time
  • Handle file format
  • Read files in parallel
  • Report parallel performance
    • Total processing time
    • numer of files
    • number of threads used
  • Streaming processing approach

Hypothesis

  • Read files in chunks vs process an entire file

Releases

No releases published

Packages

 
 
 

Languages