Skip to contents

Retrieves information about all projects in the database.

Usage

project_list(con = NULL)

Arguments

con

An optional database connection. If NULL, a new connection is created and closed automatically.

Value

A data frame with one row per project, or NULL if no projects exist. Columns include: id, name, table, status, and memory.

Details

Returns NULL if the project table doesn't exist (i.e., db_init has not been called).

Examples

if (FALSE) { # \dontrun{
# Not run:
# List all projects
projects <- project_list()
print(projects)

# Find running projects
running <- projects[projects$status == TRUE, ]
} # }