Learn R Programming

ganttify (version 0.2.1)

test_project: Test Project Data for Ganttify

Description

A sample project dataset for testing and demonstrating the Ganttify package. Contains a complete Work Breakdown Structure (WBS), activities, and custom colors for an example software development project.

Usage

test_project

Arguments

Format

A list with 3 components:

wbs_structure

A data frame with 8 rows and 3 columns:

  • ID: WBS item identifier (W1-W8)

  • Name: WBS item name (e.g., "Project Summary", "Design Phase")

  • Parent: Parent WBS ID or "None" for root items

activities

A data frame with 15 rows and 7 columns:

  • WBS_ID: Associated WBS item identifier

  • Activity_ID: Activity identifier (A1-A15)

  • Activity_Name: Activity name (e.g., "Design UI", "Code Frontend")

  • Start_Date: Planned start date in MM/DD/YYYY format

  • End_Date: Planned end date in MM/DD/YYYY format

  • Start_Date_Actual: Actual start date in MM/DD/YYYY format (some NA for not started)

  • End_Date_Actual: Actual end date in MM/DD/YYYY format (some NA for in-progress)

Includes examples of on-time, delayed, ahead-of-schedule, and in-progress activities.

colors

A named list of 8 colors:

  • Each WBS item (W1-W8) is assigned a custom hex color

Examples

Run this code
# Load the test data
data(test_project)

# View structure
str(test_project)

# Create a Gantt chart
# \donttest{
chart <- Ganttify(
  wbs_structure = test_project$wbs_structure,
  activities = test_project$activities,
  color_config = list(mode = "wbs", wbs = test_project$colors)
)
chart
# }

Run the code above in your browser using DataLab