Learn R Programming

taskqueue (version 0.2.0)

project_list: List All Projects

Description

Retrieves information about all projects in the database.

Usage

project_list(con = NULL)

Value

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

Arguments

con

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

Details

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

See Also

project_add, project_get

Examples

Run this code
if (FALSE) {
# Not run:
# List all projects
projects <- project_list()
print(projects)

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

Run the code above in your browser using DataLab