import_logfolder: Import log-file folder

Description Usage Arguments Value Remark Examples

Description

Import a folder of log files to a list.

Usage

1
import_logfolder(folderpath = "data", type = "gpx", track_progress = TRUE)

Arguments

folderpath

path of the folder containing the files.

type

Type of log-files: currently, only gpx is supported.

track_progress

T/F if data loading progress tracking is wished for

Value

A list containing a data frame for each logfile. Each such data frame contains:

pointID

ID for each track point

ele

elevation above sealevel in meters

time

time (in POSIXct-format)

distance

distance since the last trackpoint

cumulative.distance

cumulative distance since the beginnning

x

x-coordinate (longitude (East-West-Dimension))

y

y-coordinate (longitude (North-South-Dimension))

Remark

So far, only the gpx-format from Sportstracker is implemented.

Examples

1
2
3
4
5
## Not run: 
runlist <- import_logfolder(folderpath = 'data',type = 'gpx')
head(test[[1]])

## End(Not run)

schliebs/packageTemplate documentation built on May 16, 2019, 7:47 a.m.