RExercise - Analyst Your Exercise Data in R23 Apr 2015
- location table
data.framewith longitude, latitude, elevation at a particular recording time,
- summary table
- a one-row
data.frameof summary statistics about the workout, includes duration, distance, speed etc.
It comes with a helper function
Parse_GPX_all to do the batch
process and combine all
data.frame together, also add city and
country to the summary tables. Then you can see all the activities
summary in one table, and use it to query both location and
summary table, for example, how many miles did you run last year?
How many cities had you run? It meant to make you feel great by
showing you have achieved a lot.
Currently it parsing data from RunKeeper and Strava perfectly.
format is generic data format so applying RExercise to data from other
apps shuodn't be a problem. If you do, please feel free to contact
me, I am extermely friendly to people who do exercise (:d), or sent me
a pull request if you already figure out.
Suppose you have those
.GPX data files,
20150108-170830-Run.gpx 20150109-171835-Run.gpx 20150111-113750-Run.gpx 20150112-171906-Walk.gpx
RExercise will gives you a location table and summary table as follows:
|id||activity||date||start.time||name||duration (h)||distance (km)||speed (km/h)||elevation (m)||climb (m)|
2. Download GPX data
3. Set working directory and app
You should have two tables as shown in Demo section.