Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import from csv #134

Open
DavidHenryThoreau opened this issue Apr 28, 2024 · 3 comments
Open

Import from csv #134

DavidHenryThoreau opened this issue Apr 28, 2024 · 3 comments

Comments

@DavidHenryThoreau
Copy link
Contributor

I'm testing workout-tracker , I love that app which runs fast on Docker image 👍

I'd like to import past workouts from csv file which is formatted like that (I don't have gpx files any more) :

id,uuid,user_id,sport_id,title,gpx,creation_date,modification_date,workout_date,duration,pauses,moving,distance,min_alt,max_alt,descent,ascent,max_speed,ave_speed,bounds,map,map_id,weather_start,weather_end,notes
39,3958a0ec-f780-4579-b7a4-28deffdd8fe5,3,14,Mont Mc,,2018-08-13,,2018-08-13,7:30:00,,7:30:00,20,,3169,,,,,,,,,,-Salomon

I've search database.db but it seems to only get stats on gpx source.

@jovandeginste
Copy link
Owner

Would it be reasonable to re-format as json with a specific structure?

@DavidHenryThoreau
Copy link
Contributor Author

At the moment I only have that csv file , I mean in the database structure there's not km or elevation, It seems just to use GPX files in order to get stats.
Could you add an interface to add workouts without gpx like fittrackee does ?

@jovandeginste
Copy link
Owner

There are already a number of supported file formats, gpx is just one. To add a generic one, I should think about a generic structure.

jovandeginste added a commit that referenced this issue Jun 17, 2024
Eg. add weight and repetition based workouts.

Addresses #145, #140, #134, #55

Signed-off-by: Jo Vandeginste <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants