Learn R Programming

taskqueue (version 0.2.0)

project_get: Get Project Information

Description

Retrieves detailed information about a specific project from the database.

Usage

project_get(project, con = NULL)

Value

A single-row data frame containing project information with columns:

id

Unique project identifier

name

Project name

table

Name of the task table for this project

status

Logical indicating if project is running (TRUE) or stopped (FALSE)

memory

Memory requirement in GB for tasks

Stops with an error if the project is not found.

Arguments

project

Character string specifying the project name.

con

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

See Also

project_add, project_list, project_resource_get

Examples

Run this code
if (FALSE) {
# Not run:
# Get project details
info <- project_get("simulation_study")
print(info$status)  # Check if running
print(info$memory)  # Memory requirement
}

Run the code above in your browser using DataLab