Skip to content

endast/runJSONrun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

runJSONrun

What does it do?

runJSONrun converts Runmeter (http://www.abvio.com/runmeter/) CSV exports to JSON.

Why?

I wanted my runs in JSON.

Usage

runJSONrun.py -i Runmeter.csv

If you start runJSONrun and only specify a csv file, it will dump the JSON data to standard out

-? Print help and exit

-i, --input The runmeter CSV file to read

-o --output The file you wan't the JSON data to be written to

-V Print the version and exit

TODO

  • GeoJSON support?
  • Remove the need for -i (runJSONrun.py Runmeter.csv)
  • Add support for reading csv from URL

#JSON format The header names gets cleaned up:

  • Whitespace is removed

  • If the column has a type, like km/h it gets converted to _kmh ex:

  • Average Speed (km/h) -> AverageSpeed_kmh"

  • Ride Time (secs) -> RideTime_secs

  • Stopped Time -> StoppedTime

About

Convert runmeter (http://www.abvio.com/runmeter/) csv files to JSON

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages