step_count {mpathsenser} | R Documentation |
Get step count
Description
Extracts the number of steps per hour as sensed by the underlying operating system.
Usage
step_count(db, participant_id = NULL, start_date = NULL, end_date = NULL)
Arguments
db |
A database connection to an m-Path Sense database. |
participant_id |
A character string identifying a single participant. Use
|
start_date |
Optional search window specifying date where to begin search. Must be convertible to date using as.Date. Use first_date to find the date of the first entry for a participant. |
end_date |
Optional search window specifying date where to end search. Must be convertible to date using as.Date. Use last_date to find the date of the last entry for a participant. |
Value
A tibble with the 'date', 'hour', and the number of 'steps'.
[Package mpathsenser version 1.2.3 Index]