calheatmapR icon indicating copy to clipboard operation
calheatmapR copied to clipboard

Comprehensive README documentation improvements

Open Copilot opened this issue 6 months ago • 1 comments

This PR transforms the README.md from a basic, discouraging document into a comprehensive, user-friendly guide that properly showcases the calheatmapR package capabilities.

Major Improvements

Structure and Organization

  • Complete restructure with logical sections: Overview, Installation, Data Format, Quick Start, Examples, API Reference, Troubleshooting
  • Professional formatting with badges, emojis, and clear headings
  • Better hierarchy that guides users from basic concepts to advanced usage

Content Enhancement

  • Compelling package description highlighting key features and use cases instead of starting with deprecation warnings
  • Detailed installation guide with prerequisites and step-by-step instructions
  • Comprehensive data format explanation with multiple examples showing how to work with timestamps and convert existing data
  • Complete API reference documenting all functions (calheatmapR, chDomain, chLegend, chLabel) with parameters

Practical Examples

  • 6+ working code examples including:
    • Basic usage with simple data
    • GitHub-style contribution graphs
    • Business metrics dashboards
    • Using the included sample data
    • Complete Shiny integration example
  • Real-world scenarios that users can adapt to their needs

User Experience

  • Troubleshooting section with common issues and debugging code
  • Domain/SubDomain reference table showing valid combinations
  • Contributing guidelines encouraging community participation
  • Balanced package status that acknowledges limitations while highlighting capabilities

Before vs After

  • Length: 74 lines → 475 lines
  • Tone: Discouraging → Welcoming and helpful
  • Examples: 2 basic → 6+ comprehensive with explanations
  • Coverage: Minimal → Complete API and usage documentation

The README now serves as a proper introduction and reference guide that helps users successfully install, understand, and use the calheatmapR package for creating calendar heatmaps in R.

Fixes #1.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot avatar Aug 12 '25 12:08 Copilot

@durtal 👋 This repository doesn't have Copilot instructions. With Copilot instructions, I can understand the repository better, work faster and produce higher quality PRs.

I can generate a .github/copilot-instructions.md file for you automatically. Click here to open a pre-filled issue and assign it to me. I'll write the instructions, and then tag you for review.

Copilot avatar Aug 12 '25 12:08 Copilot