| test_project | R Documentation |
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.
test_project
A list with 3 components:
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
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 (YYYY-MM-DD or MM/DD/YYYY character or Date class)
End_Date: Planned end date (YYYY-MM-DD or MM/DD/YYYY character or Date class)
Start_Date_Actual: Actual start date (YYYY-MM-DD or MM/DD/YYYY character or Date class, some NA for not started)
End_Date_Actual: Actual end date (YYYY-MM-DD or MM/DD/YYYY character or Date class, some NA for in-progress)
Includes examples of on-time, delayed, ahead-of-schedule, and in-progress activities.
A named list of 8 colors:
Each WBS item (W1-W8) is assigned a custom hex color
Example software development project
# Load the test data
data(test_project)
# View structure
str(test_project)
# Create a Gantt chart
chart <- Ganttify(
wbs_structure = test_project$wbs_structure,
activities = test_project$activities,
color_config = list(mode = "wbs", wbs = test_project$colors)
)
chart
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.