bb_read: Read Biobank Acceleration File

Description Usage Arguments Value Examples

View source: R/bb_read.R

Description

Read Biobank Acceleration File

Usage

1
bb_read(file, force_numeric = TRUE, tz = "UTC", max_days = 7)

Arguments

file

path to filename

force_numeric

Should the acceleration be set to numeric even if read in as character (odd but happens)

tz

timezone passed to lubridate functions

max_days

Maximum number of days the data should have. Has no effect on reading in the data, but prints a warning if there are more than the maximum.

Value

A tibble

Examples

1
2
file = system.file("test2.csv", package = "biobankr")
  df = bb_read(file)

muschellij2/biobankr documentation built on April 13, 2020, 7:33 a.m.