read_RK_GPX: Read a Runkeeper(TM) '.gpx' file into a data.frame

Description Usage Arguments Details Value Examples

View source: R/load_data.R

Description

Raw read of a single .gpx file. Only applicable to Runkeeper(TM) .gpx files. Exported in case it is of use.

Usage

1
read_RK_GPX(gpxfile)

Arguments

gpxfile

name of the .gpx file to process

Details

For a more general use version see plotKML::readGPx which fails to read in elevation from Runkeeper(TM) files.

Value

data.frame of track details containing all available details for the tracked routes with additional class runkeepR_data

Examples

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"  

jonocarroll/runkeepR documentation built on Feb. 9, 2022, 3:04 a.m.