Reads a specified FIT file and returns an object of class FitFile

readFitFile(fileName)

Arguments

fileName

A character specifying the FIT file to be read.

Value

An object of class [FitFile-class]

Examples

garmin_file <- system.file("extdata", "Activities", "garmin-edge530-ride.fit",
                           package = "FITfileR")
garmin <- readFitFile(garmin_file)