Week 11: Capstone Project - Part 1

Apply ten weeks of learning to one real analytics project

Duration: 7 Days | Level: End-to-End Project | Portfolio piece

For ten weeks, you have been building blocks. This week, you assemble them into a project that lives on your resume. The capstone is the single biggest factor in interview outcomes for our graduates. Recruiters do not look for technical complexity alone - they look for: a clear question, a defensible method, a polished output, and a useful conclusion.

Day 1

Choose Your Project

Pick a project where you can finish, not the most impressive idea. Have access to data and ideally a real audience - yourself, a friend's business, an open dataset.

Starter ideas by domain

Retail / E-commerce

Sales forecasting, customer segmentation, inventory dashboard.

Finance / BFSI

Stock screener, credit-risk app, expense tracker.

Healthcare / Pharma

Clinical-trial KPIs, resource planner, disease-trend explorer.

Marketing

Campaign attribution, A/B viewer, content performance.

Operations

SLA monitor, defect Pareto, fleet utilisation.

A full project-proposal template is provided in /data/week11-capstone-proposal-template.md. Fill it in and get mentor approval before Day 2.

Day 2

Sourcing Data

  • Kaggle Datasets - well-documented; check licence.
  • Government open data - data.gov.in, data.gov.uk, data.gov.
  • UCI ML Repository - classics with good provenance.
  • Public APIs - World Bank, OpenWeather, Spotify.
  • Web scraping - only when ToS allows and you respect robots.txt.
Read the licence before importing. If you can't redistribute the data, link to the source in your README and don't commit the file.
Day 3

Data Preparation and SQL Pipeline

Cleaning checklist

  • Standardise column names (snake_case)
  • Parse dates and numbers
  • Handle missing values (drop, impute, or flag)
  • De-duplicate
  • Document every choice in NOTES.md

Five analytical views to build first

  1. Daily / monthly revenue
  2. Customer lifetime value
  3. Top-N products per category
  4. Cohort retention (sign-up month vs months since)
  5. Funnel: visit → add-to-cart → purchase
Day 4

Statistical Analysis in R

Run the EDA recipe from Week 5 on the cleaned data. For every KPI you plan to show: plot its distribution, check seasonal effects, test the most interesting comparison with a t-test or chi-square, and document at least one finding that surprised you.

Interviewers love surprising findings. ``Tuesday is our biggest revenue day, not Friday - and here is why'' is a far better story than ``revenue went up''.
Day 5

Shiny App Part 1 - Skeleton

Wireframe on paper first. Each tab: header, filter sidebar, KPI strip, primary chart, secondary chart, data table. Get a stakeholder to sign off before writing UI code.

Project layout

capstone/ app.R # entry point R/ mod_overview.R # one Shiny module per tab mod_customers.R mod_products.R plots.R # ggplot helpers queries.R # SQL / dplyr helpers data/ raw/ # immutable processed/ # built by scripts/ scripts/ 01_load.R 02_clean.R 03_export_rds.R www/ style.css logo.png renv.lock

For any app over ~150 lines, break each tab into a Shiny module (moduleServer() + UI function). Modules namespace their inputs, prevent collisions, and let you re-use components.

Day 6

Shiny App Part 2 - Polish

Performance

  • Pre-aggregate slow queries into .rds files; load once at app start.
  • Use bindCache() to memoise expensive reactives.
  • Profile with profvis::profvis({}).

Error handling and UX

  • validate(need(input$x, "Pick a region")) to gate plots.
  • Wrap risky code in tryCatch with a friendly toast.
  • Add a loading spinner with shinycssloaders::withSpinner().
  • Provide a downloadButton() on every table.
Day 7

Checkpoint Review

Week 11 deliverables

  1. Project proposal (1 page)
  2. Cleaned data + load scripts in GitHub
  3. Five SQL views with documentation
  4. EDA notebook with at least one surprising insight
  5. Working Shiny prototype (not yet deployed)
  6. 5-minute walkthrough video (Loom)

Schedule a 30-minute review with your mentor. Bring questions, not defensiveness.

Coming up: Week 12 - Capstone Completion and Career Prep

Deploy, document, optimise your resume and walk into your first analyst interview ready.

View Detailed Curriculum