device_info: Get the device info for one or more participants

View source: R/sensor_functions.R

device_infoR Documentation

Get the device info for one or more participants

Description

[Stable]

Usage

device_info(db, participant_id = NULL)

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.

Value

A tibble containing device info for each participant

Examples

## Not run: 
# 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)

## End(Not run)

mpathsenser documentation built on May 29, 2024, 9:11 a.m.