Name: fitness-activity
Owner: TABLEFLIP
Description: :running_woman: Normalise rando activity names from various fitness apis.
Created: 2017-03-22 16:46:22.0
Updated: 2017-03-22 16:46:45.0
Pushed: 2017-03-23 13:02:50.0
Homepage: null
Size: 13
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
:running_woman: Normalise rando activity names from various fitness apis.
Usage:
nst activityNames = require('activity-names')
nst rawName = getActivityNameFromSomeWhere()
nst normcoreName = activityNames(rawName)
...now do some aggregations that prefer normalised names.
s
e' => 'Cycling'
e Riding' => 'Cycling'
ing' => 'Cycling'
Standardising on Google Fit names as they are the most comprehensive, except on the issue of “Biking”, which is “Cycling”.
More generally the normalisation is:
Use https://github.com/samuelmr/google-fit-activity-types to convert from a google-fit numeric activity id to a activity name first.
A (?°?°???TABLEFLIP side project.