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

GoldenCheetah OpenData Project compatibility #22

Open
AartGoossens opened this issue Apr 3, 2018 · 6 comments
Open

GoldenCheetah OpenData Project compatibility #22

AartGoossens opened this issue Apr 3, 2018 · 6 comments

Comments

@AartGoossens
Copy link
Contributor

It would be nice if sweatpy supports working with data from the GoldenCheetah OpenData Project right out of the box. Probably could be a separate module in sweat.io, similar to sweat.io.strava, and sweat.io.fit.

Resources:
https://osf.io/6hfpz/
https://github.com/GoldenCheetah/OpenData

@liversedge
Copy link
Member

There is a python lib for working with osf too
https://github.com/osfclient/osfclient

@AartGoossens
Copy link
Contributor Author

Thanks for pointing to the osfclient, that could provide a really seamless experience without having to download any files manually. Will look into it.

@liversedge
Copy link
Member

I'd be really interested to get some thoughts on what kind of 'index' or 'metadata' we should generate to help folks navigate across what is likely to be a big bunch of zipfiles.

.. but perhaps some of this work belongs in the OpenData project not sweatpy, so will add you and Maksym to that project too.

@AartGoossens
Copy link
Contributor Author

I think there is already enough metadata: the name of the zip file matches the athlete id and the json contains enough information to do things like "get the latest activity" or "list the activities that contain power".
I started working on a POC that you can view here. For me it would make sense to let sweatpy handle opendata directly via osfclient.
But maybe you think this should be handled in https://github.com/GoldenCheetah/OpenData, possibly with a dependency on sweatpy? Can you explain the purpose of this OpenData repo?

@liversedge
Copy link
Member

OpenData repo is for tooling to work with the opendata files; python, R, js

When/if there are hundreds of zip files you won't want to download and unzup them all .. some kind of index will help id athlete files that are relevant to your analysis e.g. cycling, have power and cadence, multi years...

@AartGoossens
Copy link
Contributor Author

AartGoossens commented Apr 5, 2018 via email

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