tableflip/fitness-activity

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

fitness-activity

: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.

Yeah I'm into fitness. Fitness whole pizza in my mouth.


A (?°?°???TABLEFLIP side project.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.