Learn R Programming

mpathsenser (version 1.2.3)

installed_apps: Get installed apps

Description

[Stable]

Extract installed apps for one or all participants. Contrarily to other get_* functions in this package, start and end dates are not used since installed apps are assumed to be fixed throughout the study.

Usage

installed_apps(db, participant_id = NULL)

Value

A tibble containing app names.

Arguments

db

A database connection to an mpathsenser 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) {
db <- open_db()

# Get installed apps for all participants
installed_apps(db)

# Get installed apps for a single participant
installed_apps(db, "12345")
}

Run the code above in your browser using DataLab