import_monitoring: Import Monitoring FIT data

Description Usage Arguments Value Examples

Description

the funciton aims to import the monitoring data from a FIT file. The intent is to use it for a clinical project. Hence an optional structured path with name and dates is provided as input.

Usage

1
2
import_monitoring(base_path = ".", patient_name = NULL, fit_date = NULL,
  quietly = TRUE, verbose = FALSE)

Arguments

base_path

the base path into start search the files

patient_name

an optional patient's name (used as a subfolder of the base_path provided)

fit_date

an optional date used as a subfolder of the patient_name once (if provided) or directly as a subfolder of the base_path

quietly

[lgl] Would you like to know what the function is doing? (default is TRUE)

verbose

[lgl] Would you like to know (also) what read_csv is doing?

Value

a dataframe

Examples

1
2
3
4
## Not run: 
 import_monitoring("data-raw", fit_date = "2018-06-02")

## End(Not run)

UBESP-DCTV/garminer documentation built on May 23, 2019, 1:08 p.m.