checkmate dependency for robust parameter validationrlang dependency for modern error handling with abort() and structured error classesNEW: Pre-built report functions for common analytics tasks:
get_channel_overview() - Comprehensive channel performance metricsget_top_videos() - Best performing videos with sortingget_audience_demographics() - Age/gender audience breakdownget_geographic_performance() - Performance by country/regionget_daily_performance() - Time series data for trend analysisget_revenue_report() - Monetization metrics (requires monetary scope)NEW: Smart date handling with relative dates:
"last_30_days", "this_month", "yesterday", etc.resolve_date_range() function for date calculationsget_common_date_ranges() to discover available optionsNEW: Enhanced parameter validation:
get_available_metrics() and get_available_dimensions() for discoveryNEW: Data transformation and export utilities:
yt_to_dataframe() - Convert API responses to clean data.framesyt_to_tibble() - Modern tibble supportyt_export_csv() - Easy CSV export with automatic namingyt_extract_summary() - Statistical summariesyt_quick_plot() - One-line visualizationsNEW: Improved authentication and diagnostics:
diagnose_tubern() - Complete system health checkcheck_api_quota() - API usage monitoringget_report() with additional parameter validationyoutube/analytics/v1 to youtubeanalytics.googleapis.com/v2start-date → startDateend-date → endDatemax-results → maxResultsstart-index → startIndexinclude-historical-channel-data → includeHistoricalChannelDatayoutube.readonly scope to OAuth authenticationanalytics and monetary-analytics scopesget_report(): Fixed parameter mapping and improved documentationlist_groups(): Enhanced parameter handling and examplesadd_groups(): Updated documentation with correct examples