Description Usage Arguments Value Obtaining your data Examples
Starting at gpxdir
, loads all .gpx
files and merges them
with CardioActivities.csv to produce a data.frame
of all tracked
details.
1 | load_tracks(gpxdir)
|
gpxdir |
directory containing .gpx files and cardioActivities.csv extracted from a Runkeeper(TM) zip file. |
data.frame of tracked data with additional class runkeepR_data
You can get a zipped export of your Runkeeper(TM) data from the logged-in settings page on Runkeeper's website, e.g. runkeeper-data-export-12517482-2016-05-20-1550.zip.
Unzip the contents of this .zip
file to a directory (refer to this as gpxdir
).
1 2 3 4 5 6 7 8 9 | ## load test data distributed with this package
## test data is a single track;
## a hike around Anstey Hill, Adelaide, South Australia
## https://en.wikipedia.org/wiki/Anstey_Hill_Recreation_Park
library(runkeepR)
routes <- load_tracks(system.file("extdata", package="runkeepR"))
class(routes)
## [1] "runkeepR_data" "data.frame"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.