Skip to contents

Small helper function to retrieve the (latest) review data from the database with the given subject id (subject) and form.

Usage

db_get_review(db_path, ..., db_table = "all_review_data")

Arguments

db_path

Character vector. Needs to be a valid path to a database.

...

Named arguments specifying which records to retrieve, see examples. Note that ... will be processed with data.frame() and thus the arguments within ... should be convertible to a data frame. This is chosen so that filters of length one can be used with other filters since they will be recycled (for example, when selecting multiple events of one subject).

db_table

Character string. Name of the table to collect. Will only be used if data is a character string to a database.

Value

A data frame.