Learn R Programming

mpathsenser (version 1.2.3)

device_info: Get the device info for one or more participants

Description

[Stable]

Usage

device_info(db, participant_id = NULL)

Value

A tibble containing device info for each participant

Arguments

db

A database connection to an m-Path Sense database.

participant_id

A character string identifying a single participant. Use get_participants to retrieve all participants from the database. Leave empty to get data for all participants.

Examples

Run this code
if (FALSE) {
# Open the database
db <- open_db("path/to/db")

# Get device info for all participants
device_info(db)

# Get device info for a specific participant
device_info(db, participant_id = 1)
}

Run the code above in your browser using DataLab