get_nrows | R Documentation |
get_nrows(
db,
sensor = "All",
participant_id = NULL,
start_date = NULL,
end_date = NULL
)
db |
db A database connection, as created by |
sensor |
A character vector of one or multiple vectors. Use |
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 |
end_date |
Optional search window specifying date where to end search. Must be convertible
to date using |
A named vector containing the number of rows for each sensor.
## Not run:
# Open a database connection
db <- open_db("path/to/db")
# Get the number of rows for all sensors
get_nrows(db, sensor = NULL)
# Get the number of rows for the Accelerometer and Gyroscope sensors
get_nrows(db, c("Accelerometer", "Gyroscope"))
# Remember to close the connection
close_db(db)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.